QualitySettings.IncreaseLevel 提升质量级别

static function IncreaseLevel () : void

Description描述

Increase the current quality level.

提升当前质量级别。

using UnityEngine;
using System.Collections;

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

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

参见:DecreaseLevel, currentLevel

Page last updated: 2011-3-13