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

スクリプト言語

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

GUISkin.horizontalSliderThumb

public var horizontalSliderThumb: GUIStyle;

Description

GUI.HorizontalSlider のthumb(つまみ部分)で使用されるスタイル

The padding property is used to determine the size of the thumb.

	// Modifies only the horizontal slider thumb style of the current GUISkin

	var hSliderValue : float = 0.0;
	var style : GUIStyle;

	function OnGUI () {
		GUI.skin.horizontalSliderThumb = style;
		hSliderValue = GUILayout.HorizontalSlider (hSliderValue, 0.0, 10.0);
	}