Ejemplo n.º 1
0
 /// <summary> Deselect this toggle from the EventSystem (if selected) </summary>
 public void DeselectToggle()
 {
     if (!IsSelected)
     {
         return;
     }
     UnityEventSystem.SetSelectedGameObject(null);
 }
Ejemplo n.º 2
0
 /// <summary> Select this toggle in the EventSystem </summary>
 public void SelectToggle()
 {
     UnityEventSystem.SetSelectedGameObject(gameObject);
 }
Ejemplo n.º 3
0
 /// <summary> Selects this button in the EventSystem </summary>
 public void SelectButton()
 {
     UnityEventSystem.SetSelectedGameObject(gameObject);
 }