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

Search Results for

    Method GetKeyboardGlyph

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

    Get a Glyph to represent an action for the user for the Keyboard device.

    Declaration
    public static Glyph GetKeyboardGlyph(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

    Does not show glyphs for the mouse. Use GetKeyboardMouseGlyph(Rewired.Player,int,Rewired.Pole,out Rewired.AxisRange,bool,string) if you want to show keyboard or mouse glyph.

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

    Declaration
    public static Glyph GetKeyboardGlyph(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.