private void Awake() { _textEl = transform.Find("Text (TMP)").GetComponent <TextMeshProUGUI>(); StatorAnimation = GetComponentInChildren <StatorAnimation>(); DeclineButton = transform.Find("Decline Button").GetComponent <Button>(); AcceptButton = transform.Find("Accept Button").GetComponent <Button>(); }
private void Awake() { _textEl = transform.Find("Text (TMP)").GetComponent <TextMeshProUGUI>(); StatorAnimation = GetComponentInChildren <StatorAnimation>(); CancelButton = GetComponentInChildren <Button>(); }