Used Unity's Input System to implement a basic set of controls for both gamepad and keyboard. Along with this, the PlayerController script contains the OnFire(), OnMovement(), OnOnePlayerGame(), OnTwoPlayerGame(), and OnPause() methods for use with a Player Input component on the player.
Used Unity's Input System to implement a basic set of controls for both gamepad and keyboard. Along with this, the PlayerController script contains the OnFire(), OnMovement(), OnOnePlayerGame(), OnTwoPlayerGame(), and OnPause() methods for use with a Player Input component on the player.