Answers for "button select and deselect in unity c#"

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 "button select and deselect in unity c#"

Browse Popular Code Answers by Language