예제 #1
0
 private void Start()
 {
     gameManager = ((PlantVsZombieGameManager)(PlantVsZombieGameManager.Instance));
     GameStateManager.StateChangedEvent         += StateChanged;
     PlantVsZombieGameManager.MoneyChangedEvent += MoneyChangedEvent;
     //Score.ScoreChangedEvent += MoneyChanged;
 }
예제 #2
0
 // Use this for initialization
 void Start()
 {
     gameManager = ((PlantVsZombieGameManager)(PlantVsZombieGameManager.Instance));
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     gameManager = ((PlantVsZombieGameManager)(PlantVsZombieGameManager.Instance));
     GameStateManager.StateChangedEvent += StateChanged;
 }
예제 #4
0
        // Use this for initialization
        void Start()
        {
            gameManager = ((PlantVsZombieGameManager)(PlantVsZombieGameManager.Instance));

            SetPlayerIdle();
        }