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