Hello, I'm trying to assign an option to a specific button.
Right now I have 3 buttons (button0, button1, button2) that I set up using this guidehttps://www.pixelcrushers.com/phpbb/vie ... php?t=7087
But for some reason, nothing happens when I run the scene. In this case, the second option will always be on button1 and not on button2.
What am I doing wrong?
Problem with markup position
Re: Problem with markup position
Hi,
On your Standard UI Menu Panel component, are the buttons assigned to the Buttons list? The [position=#] tag isn't meant to be used with buttons that are instantiated from the Button Template. To see an example that uses buttons assigned to the Buttons list, examine the Wheel dialogue UI prefab.
On your Standard UI Menu Panel component, are the buttons assigned to the Buttons list? The [position=#] tag isn't meant to be used with buttons that are instantiated from the Button Template. To see an example that uses buttons assigned to the Buttons list, examine the Wheel dialogue UI prefab.
Re: Problem with markup position
Yes they are assigned exactly like in the Wheel Prefab.
Re: Problem with markup position
Hi,
Sorry I missed this before: Your Menu Text is set to "3". This means the response menu will use "3" for the menu button, not "[position=2]Testo...". Try changing the Menu Text to "[position=2]3" or clear the Menu Text if you want to use "Testo..." for the button.
Sorry I missed this before: Your Menu Text is set to "3". This means the response menu will use "3" for the menu button, not "[position=2]Testo...". Try changing the Menu Text to "[position=2]3" or clear the Menu Text if you want to use "Testo..." for the button.
Re: Problem with markup position
Ah, that works! Thanks, Tony, you are awesome!
Re: Problem with markup position
Glad to help!