Exemplo n.º 1
0
 public void Respawn()
 {
     controller.enabled = false;
     transform.position = spawn_point.position;
     cam_behavior.SetRot(0.0f, spawn_point.rotation.eulerAngles.y);
     controller.enabled = true;
 }