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

Search Results for

    Method GetSpecificGlyph

    GetSpecificGlyph(Player, ControllerType, int, Pole, out AxisRange, SymbolPreference, bool, string)

    Get a Glyph to represent an action for the user.

    Will pick an icon to represent the controllerType

    Declaration
    public static Glyph GetSpecificGlyph(this Player player, ControllerType controllerType, int actionID, Pole pole, out AxisRange axisRange, SymbolPreference symbolPreference, bool forceAxis = false, string collectionKey = null)
    Parameters
    Type Name Description
    Player player
    ControllerType controllerType
    int actionID
    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.

    GetSpecificGlyph(ControllerType, int, Pole, out AxisRange, SymbolPreference, int, bool, string)

    Declaration
    public static Glyph GetSpecificGlyph(ControllerType controllerType, int actionID, Pole pole, out AxisRange axisRange, SymbolPreference symbolPreference, int playerIndex = 0, bool forceAxis = false, string collectionKey = null)
    Parameters
    Type Name Description
    ControllerType controllerType
    int actionID
    Pole pole
    AxisRange axisRange
    SymbolPreference symbolPreference
    int playerIndex
    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.

    Docs generated for Rewired-Glyphs Unity Package. Package distributed under MIT license.