Version: 2017.3
public static int GetQualityLevel ();

Description

Returns the current graphics quality level.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public int qualityLevel = QualitySettings.GetQualityLevel(); }

See Also: SetQualityLevel.