QualitySettings.DecreaseLevel Manual     Reference     Scripting  
Scripting > Runtime Classes > QualitySettings
QualitySettings.DecreaseLevel

static function DecreaseLevel () : void

Description

Decrease the current quality level.

JavaScripts
using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
void Awake() {
QualitySettings.DecreaseLevel();
}
}

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
QualitySettings.DecreaseLevel()

IncreaseLevel and DecreaseLevel functions do not apply anti-aliasing changes. If you want to apply anti-aliasing setting in a different quality level, assign currentLevel variable.

See Also: IncreaseLevel, currentLevel, Quality Settings.