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

スクリプト言語

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

GUISkin.horizontalSlider

public var horizontalSlider: GUIStyle;

Description

GUI.HorizontalSlider の一部の背景として使用されるスタイル

The padding property is used to determine the size of the area the thumb can be dragged within.

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

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

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