- Joined
- Dec 10, 2015
- Messages
- 85
Hello,
so here's the deal, I want to create a dialog with two button.
The lower one is the Confirm! Button and will close the dialog
The upper one is the one causing me trouble
I'm trying to figure out how to change the title of the button when the player click on it.
The button is used to choose between three lane Top Middle Bottom.
So when you click on it, the button name will change from Top to Middle, or from Middle to Bottom, or from Bottom to Top.
But I can't find a way to change the button name without closing the dialog at all. I can't find a way to destroy a single button to create a new one.
If anyone can help me, or send me a script, it would be appreciated
thanks
so here's the deal, I want to create a dialog with two button.
The lower one is the Confirm! Button and will close the dialog
The upper one is the one causing me trouble
I'm trying to figure out how to change the title of the button when the player click on it.
The button is used to choose between three lane Top Middle Bottom.
So when you click on it, the button name will change from Top to Middle, or from Middle to Bottom, or from Bottom to Top.
But I can't find a way to change the button name without closing the dialog at all. I can't find a way to destroy a single button to create a new one.
If anyone can help me, or send me a script, it would be appreciated
thanks