Beispiel #1
0
 public void Apply(Transform firePoint, float attackSpeed, List <GameObject> targets, float damage)
 {
     foreach (GameObject Linfocito in targets)
     {
         Tower tower = Linfocito.GetComponent <Tower>();
         tower.Activate();
     }
 }
        public static void Test()
        {
            Tower tower = new Tower("forest", 7);

            tower.Activate("xana");
        }