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

static function IncreaseLevel () : void

Description

Increase the current quality level.

JavaScripts
using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Awake():
QualitySettings.IncreaseLevel()

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: DecreaseLevel, currentLevel, Quality Settings.