Answers for "how to make a button deselect itself unity"

1

how to deselect a button through code unity

GameObject myEventSystem = GameObject.Find("EventSystem");
 myEventSystem .GetComponent<UnityEngine.EventSystems.EventSystem>().SetSelectedGameObject(null);
Posted by: Guest on April-17-2021

Code answers related to "how to make a button deselect itself unity"

Browse Popular Code Answers by Language