コード例 #1
0
ファイル: TimeoutPopup.cs プロジェクト: SaulLu/3DTicTacToe
 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>();
 }
コード例 #2
0
 private void Awake()
 {
     _textEl         = transform.Find("Text (TMP)").GetComponent <TextMeshProUGUI>();
     StatorAnimation = GetComponentInChildren <StatorAnimation>();
     CancelButton    = GetComponentInChildren <Button>();
 }