Integration of the octo input system and centralization of player values
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using UnityEngine;
|
||||
using Unheimlich.Core;
|
||||
using Unheimlich.Managers;
|
||||
using Unheimlich.Utility;
|
||||
using InputManager = Unheimlich.Managers.InputManager;
|
||||
|
||||
namespace Unheimlich.Interactions.Core
|
||||
{
|
||||
@@ -44,7 +44,7 @@ namespace Unheimlich.Interactions.Core
|
||||
|
||||
private void HandleInteractionInput()
|
||||
{
|
||||
var interactAction = PlayerInputManager.GetInteractAction();
|
||||
var interactAction = InputManager.GetInteractAction();
|
||||
if (interactAction != null && interactAction.WasPressedThisFrame())
|
||||
{
|
||||
if (_currentInteractable != null)
|
||||
|
||||
Reference in New Issue
Block a user