mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 09:54:28 -05:00
Updated some of the player prefabs and repositioned the camera slightly
on them
This commit is contained in:
@@ -25,10 +25,10 @@ public class dDash : NetworkBehaviour{
|
||||
|
||||
//UPDATE CHECK FOR MOVEMENT ONLY WHEN DASHING
|
||||
void FixedUpdate(){
|
||||
if(pMove.pStats.HasDash) Dash();
|
||||
if(pMove.pStats.HasDash) DashPlayer();
|
||||
}
|
||||
|
||||
void Dash(){
|
||||
void DashPlayer(){
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
if(characterController.enabled == true){
|
||||
if (Input.GetKeyDown(KeyCode.E) && isOnCoolDown == false)
|
||||
|
||||
Reference in New Issue
Block a user