WEIRD EVENT SYSTEM BUTTON SELECTION
Hello there. I have create UI menu using Unity Canvas. I have few scenes before you enter the game. Like play button, thank you choose from easy, medium or hard and than you pick a level number. This all works fine. But when you win or loose the game Other ui pops up. I have 4 buttons here and using EventSystem.current.SetSelectedGameObject to select the first button. This works but i only can navigate the menu within first and third button (excluding the second one). So button number 2 or 4 doesn't get selected for some weird reason. They all have a button script with Target Graphic attached like the working buttons but they don't get selected nor highlited. What can cause this problem? I tried to set EventSystem.current.SetSelectedGameObject to null before but that didn't help at all.
Your answer
Follow this Question
Related Questions
AddListener fuction throwing a NullReferenceException error 1 Answer
World space canvas buttons are not working? 0 Answers
Button custom collider 0 Answers
UI in World Space doesn't respond 1 Answer