Esempio n. 1
0
    // Use this for initialization
    void Start()
    {
        _gameController.showUI(GameUIEnum.GAME);

        mGuiUpdater = _gameController.getCurrentUI().GetComponent <GUIUpdater>();
        mGuiUpdater.setInitialLives(Lives);

        for (int i = 0; i < Towers.Length; i++)
        {
            Towers[i].OnShowCreationGUIEvent += new TowerFactory.ShowCreationGUIHandler(onShowCreationGUI);
        }
        _waveController.showFirstWave();
    }