Browse Source

Added Xbox controller compatibility for player 1 and 2

master
Joshua Reason 9 years ago
parent
commit
fcb83b6936
3 changed files with 1 additions and 1 deletions
  1. BIN
      playable/Assets/Lachlan_jump_work.unity
  2. +1
    -1
      playable/Assets/Scripts/playerController.cs
  3. BIN
      playable/ProjectSettings/InputManager.asset

BIN
playable/Assets/Lachlan_jump_work.unity View File


+ 1
- 1
playable/Assets/Scripts/playerController.cs View File

@ -46,7 +46,7 @@ public class playerController : MonoBehaviour {
displayHealth (); displayHealth ();
death (); death ();
applyPlayerDirection (Input.GetAxisRaw (HorizontalBtn));
applyPlayerDirection (Input.GetAxis (HorizontalBtn));
damage (); damage ();
} }

BIN
playable/ProjectSettings/InputManager.asset View File


Loading…
Cancel
Save