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