- Home /
scroll through buttons with arrow keys
I want to scroll through different buttons using the up and down keys like this. sorry i don't really know a better way to explain it
do you mean a selection making using buttons (like windows explorer) or a focus change (like 'tab' button in almost all forms)
Answer by DaveA · Aug 20, 2012 at 08:17 PM
Short of getting a GUI package from the Asset store that does this for you, I would look into using GUI.FocusControl and make sure you have styles set up that hightlight things differently when focused (GUIStyle.focused) Detect those keys in Update and set the focus accordingly.
Your answer
Follow this Question
Related Questions
Setting Scroll View Width GUILayout 1 Answer
Is it possible to link character skill lists to a GUI, and if so, how? 3 Answers
Move the text in a GUI Button/Box 1 Answer
Gui Text Script 4 Answers
GUI Button Disappearing 1 Answer