working on charging and quick attacks
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user