ReAssigned Controller and added colliders for controller in pasue menu

This commit is contained in:
Evan Nydahl
2022-04-27 19:52:01 -05:00
parent 030cd225bf
commit b0fb0f9e09
13 changed files with 454 additions and 70 deletions

View File

@@ -23,7 +23,7 @@ public class dDashNoneState : dDashBaseState
}
//if R key then Dashing
else if ((Input.GetKeyDown(KeyCode.R) || Input.GetAxis("Dash") != 0) && !dSM.pStats.IsPaused){
else if ((Input.GetKeyDown(KeyCode.R) || Input.GetKeyDown(KeyCode.JoystickButton5) && !dSM.pStats.IsPaused)){
dSM.SwitchState(dSM.DashingState);
}