public void Enable() { gameObject.GetComponent <Image>().raycastTarget = true; gameObject.GetComponent <Button>().interactable = true; if (fade != null) { fade.TextFadeIn(); } elemState = UIElementState.Active; }
public void Enable() { gameObject.GetComponent <Button>().interactable = true; fade.TextFadeIn(); }