예제 #1
0
 void Start() {
     instance = this;
     scoreMessage = GetComponent<Text>();
 }
예제 #2
0
 private void Awake()
 {
     GlobalEvents.OnAddGameScore += UpdateGameScore;
     gameScoreUI = FindObjectOfType <GameScoreUI>();
     ResetGameScore();
 }