Version: 2017.1
public static string[] names ;

Description

The indexed list of available Quality Settings.

using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour { public string[] names; void Example() { names = QualitySettings.names; } }