Exemple #1
0
 void Awake()
 {
     instance = this;
     AICars   = this.GetComponent <AICarsManager>();
     EventManager.OnPlayerDied       += OnPlayerDied;
     EventManager.OnGameStart        += StartGame;
     EventManager.OnResumeAftervideo += OnResumeAftervideo;
 }
Exemple #2
0
 void Awake()
 {
     AICars = GameManager.instance.AICars;
     EventManager.OnGameReset += ClearOnReset;
     //EventManager.OnResumeAftervideo += ClearOnReset;
 }