Input Manager
Old Input System
The CombatInputManager script on the player object allows you to modify combat inputs.

Attack
The key used to perform a basic attack
Block
The key used to block incoming attacks
Combat Mode
The key used to toggle combat mode
Heavy Attack
The key used to perform a heavy attack
Counter
The key used to initiate a counterattack
Charge Attack: Press and hold the same key used for a basic attack
Buttons are Unity's default input buttons. You can create and edit those buttons from Unity's Input Manager (Edit> Project Settings)

New Input System
To use the New Input System:
Ensure the Input System package is installed via the Package Manager.
Open Tools > FS System, then go to the Dependencies tab.
Enable the New Input System option.
This will configure the FS System to work with Unity’s New Input System.
To customize melee combat related input actions using the New Input System:
Open the Input Action Asset Navigate to:
ThirdPersonController/InputAction/FSSystemsInputAction
and open the asset.

Select the Action Map In the Action Maps panel (left), select the
MeleeCombat
action map.Customize Input Bindings After selecting an action (e.g.,
Attack
orBlock
):You'll see associated bindings like Left Button [Mouse] or Right Trigger [Gamepad].
Click a binding to modify it.
➕ You can add multiple bindings for different devices (e.g., mouse, gamepad) by clicking the
+
next to the action.
Attack
Left Mouse Button
X
Charged Attack
Hold attack key
Hold attack key
Block
Right Mouse Button
B
Combat Mode
F
Right Trigger
Counter
Q
Y
Heavy Attack
R
A
Mobile Controller
To use the mobile controller, first enable new input system support by going to Tools > Climbing System > Welcome window. Ensure that the input system package is installed before enabling this option.


Next, enable the Combat Mobile Controller game object.

Last updated