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

スクリプト言語

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

GUISkin.verticalSliderThumb

public var verticalSliderThumb: GUIStyle;

Description

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

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

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

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

	function OnGUI () {
		GUI.skin.verticalSliderThumb = style;
		vSliderValue = GUILayout.VerticalSlider (vSliderValue, 10.0, 0.0);
	}