QualitySettings.SetQualityLevel 设置质量级别 public static void QualitySettings.SetQualityLevel(int index) public static void SetQualityLevel(int index, [DefaultValue("true")] bool applyExpensiveChanges); Description 描述 Sets a new graphics quality lev
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 Unit
QualitySettings.antiAliasing 抗锯齿 Description 描述 Set The AA Filtering option. 设置AA过滤选项. The AntiAliazing filter can be set to either 0,2,4 or 8. This coresponds to the number of multisamples used per pixel. 抗锯齿过滤器可以设置为0,2,4或8.这对应于每个像素使用多重采样的数量 using U
一. Profiler: 1. CPU Usage A. WaitForTargetFPS: Vsync(垂直同步)功能所,即显示当前帧的CPU等待时间 B. Overhead: Profiler总体时间-所有单项的记录时间总和.用于记录尚不明确的时间消耗,以帮助进一步完善Profiler的统计. C. Physics.Simulate: 当前帧物理模拟的CPU占用时间. D. Camera.Render: 相机渲染准备工作的CPU占用量 E. RenderTexture.SetActive: