Version: 5.3 (switch to 5.4b)
言語English
  • C#
  • JS

スクリプト言語

好きな言語を選択してください。選択した言語でスクリプトコードが表示されます。

Selectable.colors

マニュアルに切り替える
public var colors: UI.ColorBlock;

説明

この Selectable オブジェクトのための ColorBlock

遷移が ColorTint でなければ変更は表示されません。

#pragma strict
// Required when Using UI elements.
public var button;
function Start() {
	//Resets the colors in the buttons transitions.
	button.colors = ColorBlock.defaultColorBlock;
}