Version: 2017.1
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.