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
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