Exemplo n.º 1
0
 public static void AddNewTower(UnitTower newTower)
 {
     if (instance.towerList.Contains(newTower))
     {
         return;
     }
     instance.towerList.Add(newTower);
     instance.AddNewSampleTower(newTower);
     if (onAddNewTowerE != null)
     {
         onAddNewTowerE(newTower);
     }
 }