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

Unity QualitySettings.vSyncCount 垂直同步数

相关文章:

  • 2022-12-23
  • 2021-05-27
  • 2021-10-29
  • 2021-11-09
  • 2021-05-07
  • 2021-07-20
  • 2022-12-23
猜你喜欢
  • 2021-05-15
  • 2021-12-14
  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案