示例#1
0
    void ControllerInputs()
    {
        ControllerMovement(ref move_input);
        if (XInput.GetKeyPressed(0, (int)Buttons.A))
        {
            PlayerJump();
        }

        if (XInput.GetKeyPressed(0, (int)Buttons.RTrig))
        {
            PlayerDash();
        }
    }