- Home /
Question by
unity_QWBNqx_oU3ie9A · Jan 01, 2019 at 05:57 PM ·
editor-scripting
IntSlider slide bar not showing up when using label
Hello, I am trying to make my first Editor script and I need a few EditorGUILayout.IntSlider (s) . It seems simple enough but when I use the overload that takes string label as the first parameter the slide bar disappears leaving only the label and the text field. The slide bar still works, if you hover over where it should be and click and drag, the value in the text field changes.
//This works
SpacesX = EditorGUILayout.IntSlider(SpacesX, 1, 10);
//This does not
SpacesX = EditorGUILayout.IntSlider("X: ", SpacesX, 1, 10);
I have no clue what is going on. Is this just a bug in unity?
Comment
Your answer
