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