예제 #1
0
파일: MenuLook.cs 프로젝트: artboy77/Golem
 public void Select()
 {
     StopAllCoroutines ();
     currentlyHighlighted = this;
     image.color = highlightedCol;
     if (toEnableOnHover != null)
         toEnableOnHover.SetActive(true);
     highlighted = true;
 }
예제 #2
0
파일: MenuLook.cs 프로젝트: artboy77/Golem
 void OnDisable()
 {
     if (highlighted) {
         Deselect(true);
         closestMatch = 0;
         currentlyHighlighted = null;
     }
 }