working on charging and quick attacks

This commit is contained in:
2025-07-31 09:04:16 +02:00
parent 407454555f
commit a0c2a389be
34 changed files with 7683 additions and 289 deletions

View File

@@ -116,14 +116,6 @@ namespace RebootReality.jelycho.Player {
m_Actor.Jump();
}
if (m_Config.dragObjectActionReference.action.WasPressedThisFrame()) {
m_Actor.StartDrag();
}
if (m_Config.dragObjectActionReference.action.WasReleasedThisFrame()) {
m_Actor.StopDrag();
}
if (m_Config.dropItemActionReference.action.WasReleasedThisFrame()) {
m_Actor.DropItem();
}
@@ -132,6 +124,10 @@ namespace RebootReality.jelycho.Player {
m_Actor.BeginPrimaryAction();
}
if (m_Config.primaryActionReference.action.IsPressed()) {
m_Actor.HoldingPrimaryAction();
}
if (m_Config.primaryActionReference.action.WasReleasedThisFrame()) {
m_Actor.EndPrimaryAction();
}