Version: 2021.3
public static int GetQualityLevel ();

描述

返回当前的图形品质级别。

using UnityEngine;

public class Example : MonoBehaviour { void Start() { int qualityLevel = QualitySettings.GetQualityLevel(); } }

另请参阅:SetQualityLevel