public void Move() { if (actionsManager.ActionIsAvailable(ActionsManager.Actions.HorizontalMove)) { moveScript.Call(moveDirection); } else if (actionsManager.ActionIsFinish(ActionsManager.Actions.HorizontalMove)) { moveScript.Call(0f); } }
public void Move() { if (actionsManager.ActionIsAvailable(ActionsManager.Actions.HorizontalMove)) { moveScript.Call(moveDirection); } else if (actionsManager.ActionIsFinish(ActionsManager.Actions.HorizontalMove)) { moveScript.Call(0f); } }