Hello everyone,
I have stuck at one point while enabling and disabling buttons.
I have 10 seperate buttons for selecting numbers in my game. The rule is: When the player clicks onto a button, that button will be disabled and cannot be clickable again. And when the game starts again, all buttons will be enabled.
I tried the following, but I could not manage to make it work.
EventSystem.current.GetComponent().SetSelectedGameObject(null);
Could you help me?