예제 #1
0
 public void triggerStart()
 {
     gameLostEvent.subscribe(show);
     gameStartEvent.trigger();
     gameObject.SetActive(false);
 }
예제 #2
0
 private void Awake()
 {
     gameStartEvent.subscribe(onGameStarted);
     gameLostEvent.subscribe(onGameLost);
 }