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

@@ -571,7 +571,7 @@ public class dAerialStateManager : NetworkBehaviour
//Checks if the player can grapple
public bool CheckGrapple(){
if(!pStats.IsPaused){
if ((Input.GetKeyDown(KeyCode.E) || Input.GetKeyDown(KeyCode.JoystickButton2)) && pStats.HasGrapple) //If grapple button is hit
if ((Input.GetKeyDown(KeyCode.E) || Input.GetKeyDown(KeyCode.JoystickButton10)) && pStats.HasGrapple) //If grapple button is hit
{
//Debug.Log("Checking Hooks");
hookPointIndex = FindHookPoint(); //Find the nearest hook point within max distance