言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

GUI.contentColor

public static var contentColor: Color;

Description

GUIでレンダリングされるすべてのテキストの色

これは color を掛けたものを取得します。 See Also: backgroundColor, color.
ボタンの黄色コンテンツカラー(フォント)

	// Tints with yellow the letters of the button.
	function OnGUI() {
		GUI.contentColor = Color.yellow;
		GUI.Button(Rect(10,10,70,30), "A button");
	}