I'm using the following line of code to change the button selected by the event system when using a game pad:> EventSystem.current.SetSelectedGameObject(level_1);
However I'm getting the following error when it is called:
> Attempting to select level_1> (UnityEngine.GameObject)while already> selecting an object
The thing is the code still runs, and the button can't be selected by a game pad without it, but it still throws up the error.
Is this something I should be worried about? If not, can I just suppress the error and move on?
↧