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

スクリプト言語

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

GUIStyle.font

public var font: Font;

Description

The font to use for rendering. If null, the default font for the current GUISkin is used instead.

	// Prints name of the font that button is using.

	function OnGUI() {
		Debug.Log("Font name: " + GUI.skin.button.font.name);
	}