Updated some of the player prefabs and repositioned the camera slightly

on them
This commit is contained in:
Melbyj1125
2022-01-26 13:56:45 -06:00
parent 076bf0e158
commit eb5e3e22a7
7 changed files with 55 additions and 38 deletions

View File

@@ -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)