private void SetRespawnPointLocation()
 {
     ModelObject.transform.position = RespawnPoint.GetRandomSpawnPoint(ModelObject.transform.position);
     rb.velocity.Set(0, 0);
 }
Esempio n. 2
0
 private void SetRespawnPointLocation()
 {
     ModelObject.transform.position = RespawnPoint.GetRandomSpawnPoint(ModelObject.transform.position);
     PlayerManager.RespawnPosition  = ModelObject.transform.position;
     RigidBody.velocity.Set(0, 0);
 }