Ejemplo n.º 1
0
 public void InstantDeath()
 {
     pathToFollow.StopAlternatingPoints();
     Destroy(pathToFollow.gameObject);
     Destroy(gameObject);
 }