working on charging system

This commit is contained in:
2025-07-30 08:26:07 +02:00
parent 61a42bdf10
commit 407454555f
13 changed files with 544 additions and 497 deletions

View File

@@ -128,8 +128,12 @@ namespace RebootReality.jelycho.Player {
m_Actor.DropItem();
}
if (m_Config.primaryActionReference.action.WasPressedThisFrame()) {
m_Actor.BeginPrimaryAction();
}
if (m_Config.primaryActionReference.action.WasReleasedThisFrame()) {
m_Actor.PrimaryAction();
m_Actor.EndPrimaryAction();
}
if (m_Config.secondaryActionReference.action.WasReleasedThisFrame()) {