GUILayout.HorizontalSliderstatic function HorizontalSlider (value : float, leftValue : float, rightValue : float, params options : GUILayoutOption[]) : floatstatic function HorizontalSlider (value : float, leftValue : float, rightValue : float, slider : GUIStyle, thumb : GUIStyle, params options : GUILayoutOption[]) : floatParameters
Returnsfloat - The value that has been set by the user. DescriptionA horizontal slider the user can drag to change a value between a min and a max.
JavaScript
var hSliderValue : float = 0.0; using UnityEngine; import UnityEngine
|

