public void TakeInput(InputData inputData) { MovementDirection = inputData.DirectionToVector(); if (inputData.ActionButton) { if (CurrentInteract) { CurrentInteract.Activate(); } } }
public void TakeInput(InputData inputData) { MovementDirection = inputData.DirectionToVector(); if (inputData.ActionButton) { if (CurrentInteract) { CurrentInteract.Activate(); } } }