Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

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

QualitySettings.IncreaseLevel

Switch to Manual
public static void IncreaseLevel(bool applyExpensiveChanges = false);

Parameters

applyExpensiveChanges Should expensive changes be applied (Anti-aliasing etc).

Description

Increase the current quality level.

using UnityEngine;
using System.Collections;

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

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

See Also: DecreaseLevel, Quality Settings.