Rewired Glyphs Docs Rewired Glyphs Docs
Rewired Glyphs Docs Rewired Glyphs Docs
Rewired Glyphs

Search Results for

    Method GetSpecificJoystickGlyph

    GetSpecificJoystickGlyph(Player, int, Controller, Pole, out AxisRange, SymbolPreference, bool, string)

    Get a Glyph to represent an action for the user for the Joystick device with a specific SymbolPreference .

    Declaration
    public static Glyph GetSpecificJoystickGlyph(this Player player, int actionID, Controller controller, Pole pole, out AxisRange axisRange, SymbolPreference symbolPreference, bool forceAxis = false, string collectionKey = null)
    Parameters
    Type Name Description
    Player player
    int actionID
    Controller controller
    Pole pole
    AxisRange axisRange
    SymbolPreference symbolPreference
    bool forceAxis
    string collectionKey
    Returns
    Type Description
    Glyph
    Remarks

    This method should only be used if you want to explicitly determine the type of symbol (Xbox, Playstation, etc.) to show for the joystick glyph.
    Use GetJoystickGlyph(Rewired.Player,int,Rewired.Controller,Rewired.Pole,out Rewired.AxisRange,bool, string) if you don't need to specify symbol preference.

    GetSpecificJoystickGlyph(int, Controller, Pole, out AxisRange, SymbolPreference, int, bool, string)

    Declaration
    public static Glyph GetSpecificJoystickGlyph(int actionID, Controller controller, Pole pole, out AxisRange axisRange, SymbolPreference symbolPreference, int playerIndex = 0, bool forceAxis = false, string collectionKey = null)
    Parameters
    Type Name Description
    int actionID
    Controller controller
    Pole pole
    AxisRange axisRange
    SymbolPreference symbolPreference
    int playerIndex
    bool forceAxis
    string collectionKey
    Returns
    Type Description
    Glyph
    Docs generated for Rewired-Glyphs Unity Package. Package distributed under MIT license.