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