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

static function IncreaseLevel (applyExpensiveChanges : boolean = false) : void

Parameters

NameDescription
applyExpensiveChanges should expensive changes be applied (Anti-aliasing etc)

Description

Increase the current quality level.

JavaScript
QualitySettings.IncreaseLevel(false);

using UnityEngine;
using System.Collections;

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

import UnityEngine
import System.Collections

class example(MonoBehaviour):

def Example():
QualitySettings.IncreaseLevel(false)

IncreaseLevel and DecreaseLevel functions only apply anti-aliasing if applyExpensiveChanges is true.

See Also: DecreaseLevel, Quality Settings.