Example #1
0
 /**
  * A normal member called on wrong placement of Soldier
  * Used during check of soldiers before game start.
  * (e.g. Soldier was taken from the spawning area and was placed on the playground. If the Soldier is not scaled, he needs to be removed before start).
  */
 public void WrongPlacement()
 {
     spawning.onWrongPlacement(gameObject);
     Destroy(this.gameObject);
 }