private void Start() { gameManager = ((PlantVsZombieGameManager)(PlantVsZombieGameManager.Instance)); GameStateManager.StateChangedEvent += StateChanged; PlantVsZombieGameManager.MoneyChangedEvent += MoneyChangedEvent; //Score.ScoreChangedEvent += MoneyChanged; }
// Use this for initialization void Start() { gameManager = ((PlantVsZombieGameManager)(PlantVsZombieGameManager.Instance)); }
// Use this for initialization void Start() { gameManager = ((PlantVsZombieGameManager)(PlantVsZombieGameManager.Instance)); GameStateManager.StateChangedEvent += StateChanged; }
// Use this for initialization void Start() { gameManager = ((PlantVsZombieGameManager)(PlantVsZombieGameManager.Instance)); SetPlayerIdle(); }