feat: add attack input

This commit is contained in:
Bragin Stepan
2026-02-22 16:34:02 +05:00
parent 809958ec35
commit 366a388036
2 changed files with 3 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ namespace _Project.Develop.Runtime.Utils.InputManagement
{
InputState<Vector2> Move { get; }
InputState<Vector2> Look { get; }
InputState<float> Attack { get; }
InputState<float> Jump { get; }
InputState<float> Sprint { get; }
InputState<float> Interact { get; }

View File

@@ -7,6 +7,7 @@ namespace _Project.Develop.Runtime.Utils.InputManagement.Inputs
{
public InputState<Vector2> Move { get; }
public InputState<Vector2> Look { get; }
public InputState<float> Attack { get; }
public InputState<float> Jump { get; }
public InputState<float> Sprint { get; }
public InputState<float> Interact { get; }
@@ -23,6 +24,7 @@ namespace _Project.Develop.Runtime.Utils.InputManagement.Inputs
Move = Register<Vector2>(_playerActions.Move);
Look = Register<Vector2>(_playerActions.Look);
Jump = Register<float>(_playerActions.Jump);
Attack = Register<float>(_playerActions.Attack);
Sprint = Register<float>(_playerActions.Sprint);
Interact = Register<float>(_playerActions.Interact);
Crouch = Register<float>(_playerActions.Crouch);