Method GetSprite
GetSprite(AxisRange)
Get the sprite for a particular input direction.
Declaration
public Sprite GetSprite(AxisRange axis)
Parameters
Type | Name | Description |
---|---|---|
AxisRange | axis | The direction of input. |
Returns
Type | Description |
---|---|
Sprite | The sprite defined for the AxisRange or the AxisRange.Full if one is not found for the positive or negative direction. |