Пример #1
0
 public void WalkInState(int direction)
 {
     characterState.Move(direction);
 }
    private void MoveInput()
    {
        float inputX = Input.GetAxisRaw("Horizontal");

        state = state.Move(inputX * playerSettings.movementSpeed);
    }