Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

static var names: string[];
static string[] names;
static names as string[]

Description

The indexed list of available Quality Settings.

	var names : String[];
	names = QualitySettings.names;
using UnityEngine;
using System.Collections;

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

public class ExampleClass(MonoBehaviour):

	public names as (string)

	def Example() as void:
		names = QualitySettings.names