I just made 3 buttons, for a kind of "vote", in which you select one of the three options. Everything works fine, except I don't know how to change the color or the texture of my button once he is pressed (So that the triggering player knows he clicked that button and that that option is selected). How can I do that ?
And will that modification be removed if the player clicks one of the other 2 buttons (if he changes his mind)
you have to do that all by yourself. you have to change the image of the button and maybe it's type (border, normal, etc) and reset all others when a button is clicked.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello everyone, pretty new to UI editing ...
I just made 3 buttons, for a kind of "vote", in which you select one of the three options. Everything works fine, except I don't know how to change the color or the texture of my button once he is pressed (So that the triggering player knows he clicked that button and that that option is selected). How can I do that ? And will that modification be removed if the player clicks one of the other 2 buttons (if he changes his mind)
you have to do that all by yourself. you have to change the image of the button and maybe it's type (border, normal, etc) and reset all others when a button is clicked.