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.

QualitySettings.DecreaseLevel

static function DecreaseLevel(applyExpensiveChanges: bool = false): void;
static void DecreaseLevel(bool applyExpensiveChanges = false);
static def DecreaseLevel(applyExpensiveChanges as bool = false) as void

Parameters

applyExpensiveChangesShould expensive changes be applied (Anti-aliasing etc).

Description

Decrease the current quality level.

	QualitySettings.DecreaseLevel(false);
using UnityEngine;
using System.Collections;

public class ExampleClass : MonoBehaviour {
    void Example() {
        QualitySettings.DecreaseLevel(false);
    }
}
import UnityEngine
import System.Collections

public class ExampleClass(MonoBehaviour):

	def Example() as void:
		QualitySettings.DecreaseLevel(false)

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

See Also: IncreaseLevel, Quality Settings.