- Home /
Question by
dearhpc · Jun 02, 2011 at 02:42 AM ·
Slider drag mount
Does there have any solution to define the drag mount of the slider?
GUILayout.HorizontalSlider (5,0f,50.0f);
I want to every drag with min amount to 1, not in float amount.
Comment
Answer by kirpigiller · Jun 02, 2011 at 05:48 AM
Probably, EditorGUILayout.IntSlider can help you.
Editor classes can also used in game ? I think these classes are only used to extend the Unity Editor's functionalities.
Your answer
Follow this Question
Related Questions
how to create GUI slide effect ?? 1 Answer
slider bar in inspector 4 Answers
Problem with UISLider - EZGUI 0 Answers
Sliding GUI.HorizontalSlider also moves Camera with FreeCamera script 0 Answers
Help scrolling puzzle is not. 0 Answers