mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
Merge branch 'MelbyFinalSprint'
This commit is contained in:
@@ -604,4 +604,9 @@ public class PlayerMovement : NetworkBehaviour
|
||||
}
|
||||
moveController.enabled = true;
|
||||
}
|
||||
|
||||
public void TeleportPlayer(Vector3 position, Quaternion rotation = new Quaternion()){
|
||||
transform.position = position;
|
||||
transform.rotation = rotation;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user