this is just a theory but it might work.
say you have 4 buttons, assign each a number.
Resume Game - 0
Options - 1
Scoreboard - 2
Exit - 3
you have a variable, lets call it “whichButton”, and assign it 0. now all you have to do is increase or decrease the number according to the input (if the number is to be increased to 4, you would reset to 0, meaning the highlighted button would go from Exit to Resume Game).
the only part I can’t think of a clear way to do is the highlighting.
maybe make an if statement for each of the buttons, and if whichButton is set to their number (say it’s set to 1, then Options would be selected), you will highlight that button. something like this.
var whichButton = 0;
function OnGUI(){
//Create your window
if(whichButton == 0){
//Add a gui element to "highlight" this button, maybe a transparency to be put over top of the button)
}
//Create the Resume Game button (you may have to put this above the if statement above, depending on how you highlight your button.
}
}
and you do that statement for each of the buttons. idk how viable this is but it sounds like it would work…in theory, at least, lol…then when you press say the “A” button, you just check what whichButton is set to, and you run your script accordingly. so if it’s set to 0, resume the game, if it’s set to 1, open the options menu, if it’s set to 2, open up the scoreboard, if it’s set to 3, exit the game.
hope this helped.
Edit: I didn’t read your last post there >.< lol my bad, guess I didn’t get to try to help in time lol.