Answers for "unity deselect button after click"

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 "unity deselect button after click"

Browse Popular Code Answers by Language