mirror of
https://github.com/Bragin-Stepan/project-entity.git
synced 2026-03-02 22:31:10 +00:00
fix: changed button for attack input
This commit is contained in:
@@ -20,7 +20,7 @@ namespace _Project.Develop.Runtime.Logic.Gameplay.Features.Input
|
||||
{
|
||||
_startAttackRequest = entity.StartAttackRequest;
|
||||
|
||||
_playerInput.Interact.Enter += OnAttackRequest;
|
||||
_playerInput.Attack.Enter += OnAttackRequest;
|
||||
}
|
||||
|
||||
private void OnAttackRequest(float value)
|
||||
@@ -30,7 +30,7 @@ namespace _Project.Develop.Runtime.Logic.Gameplay.Features.Input
|
||||
|
||||
public void OnDispose()
|
||||
{
|
||||
_playerInput.Interact.Enter -= OnAttackRequest;
|
||||
_playerInput.Attack.Enter -= OnAttackRequest;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user