Example #1
0
 public void Respawn()
 {
     Debug.Log("Respawn!");
     transform.position = RespawnLocation;
     gameObject.SetActive(true);
     //body.velocity = Vector2.zero;
     Gravity.AddOrbital(gameObject);
     GetComponent <PlayerCondition>().Reset();
     currentFart = 1;
 }