working on actors
This commit is contained in:
@@ -97,6 +97,10 @@ namespace RebootReality.jelycho.Player {
|
||||
if (m_Config.secondaryActionReference.action.WasReleasedThisFrame()) {
|
||||
m_Actor.SecondaryAction();
|
||||
}
|
||||
|
||||
if (m_Config.interactActionReference.action.WasReleasedThisFrame()) {
|
||||
m_Actor.Interact();
|
||||
}
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
@@ -108,6 +112,7 @@ namespace RebootReality.jelycho.Player {
|
||||
public InputActionReference dragObjectActionReference;
|
||||
public InputActionReference primaryActionReference;
|
||||
public InputActionReference secondaryActionReference;
|
||||
public InputActionReference interactActionReference;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user