Exemple #1
0
 public void Select()
 {
     StopAllCoroutines ();
     currentlyHighlighted = this;
     image.color = highlightedCol;
     if (toEnableOnHover != null)
         toEnableOnHover.SetActive(true);
     highlighted = true;
 }
Exemple #2
0
 void OnDisable()
 {
     if (highlighted) {
         Deselect(true);
         closestMatch = 0;
         currentlyHighlighted = null;
     }
 }