mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
small changes to player and items for cleanup
This commit is contained in:
@@ -41,7 +41,6 @@ public class dWallRun : NetworkBehaviour
|
||||
bool CanWallRun()
|
||||
{
|
||||
float verticalAxis = Input.GetAxisRaw("Vertical");
|
||||
|
||||
return !isPlayergrounded() && verticalAxis > 0 && VerticalCheck();
|
||||
}
|
||||
|
||||
@@ -155,6 +154,7 @@ public class dWallRun : NetworkBehaviour
|
||||
playerMovementController.SetPlayerVelocity(moveToSet);
|
||||
//Debug.Log("On Wall");
|
||||
isWallRunning = true;
|
||||
Debug.Log("Is Wallrunning");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user