I set up my UI panel according to the tutorial video
But the menu panel is worng, only the first button can be selected
I dont know Why
And When I Use Input panel , the first time is perfect , but when i chose"change name"again,the warning appears,but it still can run
About Menu Panel & Input
Re: About Menu Panel & Input
Hi,
For the Lua code in the Script field, please use a straight double quote character ("), not open and close quotes (“ ”).
To debug the menu buttons, keep an Inspector view on the EventSystem GameObject. The bottom of the Inspector view will show the button that it has currently selected. When you click on the second and third menu buttons, check the bottom of the Inspector to see if it is able to select the button.
For the Lua code in the Script field, please use a straight double quote character ("), not open and close quotes (“ ”).
To debug the menu buttons, keep an Inspector view on the EventSystem GameObject. The bottom of the Inspector view will show the button that it has currently selected. When you click on the second and third menu buttons, check the bottom of the Inspector to see if it is able to select the button.
Re: About Menu Panel & Input
The Lua code is run now!Thank you!
About the button,they can be selected,but only the first button's color changed,even I chose the other button
BY the way,if I dont need alert panel, can I close it all the time?
for example :when player touch other gameobject,now the alert panel is active,but I dont want it
About the button,they can be selected,but only the first button's color changed,even I chose the other button
BY the way,if I dont need alert panel, can I close it all the time?
for example :when player touch other gameobject,now the alert panel is active,but I dont want it
Last edited by bloud on Tue Oct 29, 2024 6:00 am, edited 2 times in total.
Re: About Menu Panel & Input
Hi,
It's good that you can select the other buttons. Do they respond if you click on them?
Do the other buttons have Transitions (e.g., Color Tint) on their Button components? And is Target Graphic point to the correct GameObject?
It's good that you can select the other buttons. Do they respond if you click on them?
Do the other buttons have Transitions (e.g., Color Tint) on their Button components? And is Target Graphic point to the correct GameObject?
Re: About Menu Panel & Input
It's ok now!
I use ctrl+D to copy the first button,so Target Graphic all to first button,I change it now
Thank you!
I use ctrl+D to copy the first button,so Target Graphic all to first button,I change it now
Thank you!
Re: About Menu Panel & Input
It's ok now!
I use ctrl+D to copy the first button,so Target Graphic all to first button,I change it now
Thank you!
I use ctrl+D to copy the first button,so Target Graphic all to first button,I change it now
Thank you!
Re: About Menu Panel & Input
Glad to help!