Add detective board
This commit is contained in:
@@ -44,8 +44,8 @@ namespace Unheimlich.Interactions.Core
|
||||
|
||||
private void HandleInteractionInput()
|
||||
{
|
||||
if (PlayerInputManager.Instance != null &&
|
||||
PlayerInputManager.Instance.InteractAction.action.WasPressedThisFrame())
|
||||
var interactAction = PlayerInputManager.GetInteractAction();
|
||||
if (interactAction != null && interactAction.WasPressedThisFrame())
|
||||
{
|
||||
if (_currentInteractable != null)
|
||||
_currentInteractable.Interact(transform.parent.gameObject);
|
||||
|
||||
Reference in New Issue
Block a user