public void WalkInState(int direction) { characterState.Move(direction); }
private void MoveInput() { float inputX = Input.GetAxisRaw("Horizontal"); state = state.Move(inputX * playerSettings.movementSpeed); }