- Home /
Question by
_methotec_ · Jun 05, 2013 at 02:25 PM ·
guisliderfocus
How to keep focus on a GUI Slider
Hi there,
I want to use a GUI.HorizontalSlider to control the number of elements shown in a scroll view. But every time the number of rendered elements changes the slider loses it's focus an I have to click it again. Is there a possibility to lock the GUIUtility.hotControl or set it back to active afterwards? I tried to do it with GUI.FocusControl("controlNameIgaveTheSlider"); This seems to set the slider highlighted - but the real focus is lost nevertheless... and I have to click it again to slide it.
I appreciate ANY hint :)
Comment