public void Restart() { //Get current checkpoint from the checkpoint manager and sets the new position this.gameObject.transform.position = CheckPointManager.GetCurrentCheckPoint(); }
public void Restart() { //Get current checkpoint from the checkpoint manager and sets the new position this.gameObject.transform.position = CheckPointManager.GetCurrentCheckPoint(); }