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

Search Results for

    Method GetKeyboardMouseGlyph

    GetKeyboardMouseGlyph(Player, int, Pole, out AxisRange, bool, string)

    Get a Glyph to represent an action for the user for the mouse or keyboard devices (in that order).

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

    If an input is present on both the keyboard and mouse, precedence is given to the mouse.

    GetKeyboardMouseGlyph(int, Pole, out AxisRange, int, bool, string)

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