public void InstantDeath() { pathToFollow.StopAlternatingPoints(); Destroy(pathToFollow.gameObject); Destroy(gameObject); }