Пример #1
0
    private void HandleMovementInput()
    {
        if (Input.MoveUp)
        {
            Thruster.Up();
        }

        if (Input.MoveDown)
        {
            Thruster.Down();
        }

        if (Input.MoveForward)
        {
            Thruster.Forward(false);
        }

        if (Input.MoveBack)
        {
            Thruster.Back();
        }
    }