Пример #1
0
    // Returns the float representing how far the trigger is pressed
    public float Axis()
    {
        // For now, assume user index is 0
        ControllerState state = ControllerInput.GetState(0);

        return(state.TriggerStatus(side));
    }