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 = ;
}
}

Unity QualitySettings.vSyncCount 垂直同步数-LMLPHP

05-21 01:07