Exemplo n.º 1
0
 private void OnBuild(Event_UIBuild e)
 {
     EventSystem.RemoveListener <Event_UIBuild>(OnBuild);
     this.MakeBuilding(new Building(GameState.Instance.habitatSprite, null, null, RESOURCE_TYPE.LASAGNA, MENU_FLAGS.UPGRADE | MENU_FLAGS.WORKER, true));
 }
Exemplo n.º 2
0
 void OnUIBuild(Event_UIBuild e)
 {
     Deactivate();
 }