public void ProcessAction()
{
if (_currentAction != null && _currentAction.IsFinished == false)
{
Debug.Log($"Current action : {_currentAction.GetType()}");
return;
}
if (_characterActions.Any() == false)
{
Debug.Log($"Current action : {_currentAction.GetType()}");
return;
}
_currentAction = _characterActions.Dequeue();
Debug.Log($"Current action : {_currentAction.GetType()}");
_currentAction.Execute();
}