Constructor Glyph
Glyph(int, string, ControllerType?, Sprite, Sprite, Sprite, Type)
Declaration
public Glyph(int inputID, string description, ControllerType? controllerType, Sprite sprite, Sprite positiveSprite, Sprite negativeSprite, Glyph.Type type = Type.Input)
Parameters
Type |
Name |
Description |
int |
inputID |
|
string |
description |
|
ControllerType? |
controllerType |
|
Sprite |
sprite |
|
Sprite |
positiveSprite |
|
Sprite |
negativeSprite |
|
Glyph.Type |
type |
|
Glyph(int, string, ControllerType?, Sprite, Type)
Declaration
public Glyph(int inputID, string description, ControllerType? controllerType, Sprite sprite, Glyph.Type type = Type.Input)
Parameters
Type |
Name |
Description |
int |
inputID |
|
string |
description |
|
ControllerType? |
controllerType |
|
Sprite |
sprite |
|
Glyph.Type |
type |
|
Glyph(string, ControllerType?, Sprite, Type)
Create a fallback glyph that only contains a description.
Declaration
public Glyph(string description, ControllerType? controllerType, Sprite sprite = null, Glyph.Type type = Type.Input)
Parameters
Type |
Name |
Description |
string |
description |
|
ControllerType? |
controllerType |
|
Sprite |
sprite |
|
Glyph.Type |
type |
|
Glyph(int, string, Sprite, Sprite, Sprite, Type)
Declaration
[Obsolete("This constructor does not specify ControllerType which may cause issues with other systems. Use Glyph(int, string, Rewired.ControllerType, Sprite, Sprite, Sprite, Type) instead.")]
public Glyph(int inputID, string description, Sprite sprite, Sprite positiveSprite, Sprite negativeSprite, Glyph.Type type = Type.Input)
Parameters
Type |
Name |
Description |
int |
inputID |
|
string |
description |
|
Sprite |
sprite |
|
Sprite |
positiveSprite |
|
Sprite |
negativeSprite |
|
Glyph.Type |
type |
|
Glyph(int, string, Sprite, Type)
Declaration
[Obsolete("This constructor does not specify ControllerType which may cause issues with other systems. Glyph(int, string, Rewired.ControllerType, Sprite, Type) instead.")]
public Glyph(int inputID, string description, Sprite sprite, Glyph.Type type = Type.Input)
Parameters
Glyph(string, Sprite, Type)
Declaration
[Obsolete("This constructor does not specify ControllerType which may cause issues with other systems. Use Glyph(string, ControllerType) instead.")]
public Glyph(string description, Sprite sprite = null, Glyph.Type type = Type.Input)
Parameters