working on enemies
This commit is contained in:
@@ -120,6 +120,10 @@ namespace RebootReality.jelycho.Player {
|
||||
m_Actor.DropItem();
|
||||
}
|
||||
|
||||
if (m_Config.kickActionReference.action.WasReleasedThisFrame()) {
|
||||
m_Actor.Kick();
|
||||
}
|
||||
|
||||
if (m_Config.primaryActionReference.action.WasPressedThisFrame()) {
|
||||
m_Actor.BeginPrimaryAction();
|
||||
}
|
||||
@@ -164,8 +168,8 @@ namespace RebootReality.jelycho.Player {
|
||||
public InputActionReference lookActionReference;
|
||||
public InputActionReference jumpActionReference;
|
||||
public InputActionReference sprintActionReference;
|
||||
public InputActionReference dragObjectActionReference;
|
||||
public InputActionReference dropItemActionReference;
|
||||
public InputActionReference kickActionReference;
|
||||
public InputActionReference primaryActionReference;
|
||||
public InputActionReference secondaryActionReference;
|
||||
public InputActionReference interactActionReference;
|
||||
|
||||
Reference in New Issue
Block a user