QualitySettings.vSyncCount 垂直同步數
Description 描述
The VSync Count.
垂直同步數。
The number of VSyncs that should pass between each frame. Use 'Don't Sync' (0) to not wait for VSync. Value must be 0, 1 or 2.
VSyncs數值需要在每幀之間傳遞,使用0為不等待垂直同步。值必須是0,1或2。
using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Example() { QualitySettings.vSyncCount = 1; } }

