コード例 #1
0
 private void Awake()
 {
     _scoreController = FindObjectOfType <ScoreController>();
     _canvasTransform = GameObject.FindGameObjectWithTag("GameCanvas").transform;
     _ball            = FindObjectOfType <BallController>();
 }
コード例 #2
0
 private void Start()
 {
     _scoreController  = Game.GetScoreController();
     _promptController = Game.GetPromptController();
     _playerController = Game.GetPlayer().GetComponent <PlayerController>();
 }
コード例 #3
0
 private void Start()
 {
     _scoreController = Game.GetScoreController();
 }