QualitySettings.DecreaseLevel 降低质量级别

static function DecreaseLevel () : void

Description描述

Decrease the current quality level.

降低当前质量级别。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	public void Awake() {
		QualitySettings.DecreaseLevel();
	}
}
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.

IncreaseLevelDecreaseLevel函数,不适用于抗锯齿的改变。如果你想应用抗锯齿设置不同的质量级别,使用currentLevel变量。

参见:IncreaseLevel, currentLevel

Page last updated: 2011-3-13