protected virtual void Awake() { RectTransform = GetComponent <RectTransform>(); backgroundImage = transform.Find("BackgroundImage").GetComponent <Image>(); content = transform.Find("Content"); highlightResponse = GetComponentInChildren <IHighlightResponse>(); RegisterEvents(); }
private void Awake() { backgroundImage = GetComponentInChildren <Image>(); highlightResponse = GetComponentInChildren <IHighlightResponse>(); }