Hello!
So, I’m making a main menu for my game, but the problem is that some buttons ARE working when highlighted, while others aren’t.
I don’t understand why it doesn’t work cause they have the exact same properties, yet some work and some don’t.
If there’s a picture needed, then please tell me so, even though I don’t see why it’s needed.
Hie are you drawing the buttons? What’s the code or scene setup look like? What are the settings on the objects? Can you show a video or gif of the problem?
I’m not drawing the buttons, but I’m giving the Button Component to Texts so that they also work like buttons.
This is how everything looks: http://puu.sh/sw8Bg/c5628f5988.jpg (Main menu screen)
http://puu.sh/sw8D5/4ceb3e42d0.jpg (When you hover your mouse over the text)
http://puu.sh/sw8Em/b151513211.jpg (The buttons that aren’t working for some reason)
http://puu.sh/sw8GZ/fe309f8518.png (Button’s START GAME stuff)
http://puu.sh/sw8FI/3b42ca1011.png (Button’s CONTROL stuff)
I didn’t write any code for these buttons in terms of highlighting. Of course for their function there is a code, yes.
So one set of buttons work while the others do not? Have you disabled the EventSystem in the one that does not work? What does the EventSytem say when you hover the mouse over the button? If you select it so the inspector can see it then it should say the name of the object under the mouse.