|
override ButtonState | ActionButton [get] |
| Gets the state of the default action button. More...
|
|
Properties inherited from PlatformerPro.StandardInput |
override string | Header [get] |
| Gets the header string used to describe the component. More...
|
|
override float? | HorizontalAxis [get] |
| A float value clamped between -1 for completely left and 1 for compeletely right. 0.5f would mean "half right". This implementation only returns -1.0f, 0.0f or 1.0f. More...
|
|
override int?? | HorizontalAxisDigital [get] |
| A "digital" version of the horizontal axis in which the only valid values are -1 for LEFT, 0 for NONE, and 1 for RIGHT. More...
|
|
override ButtonState | HorizontalAxisState [get] |
| Return ButtonState.DOWN if the axis state went from <= 0 to 1 or >= 0 to -1. Return ButtonState.HELD if the axis stayed at the same value and wasn't 0; Return ButtonState.UP if the axis state went from != 0 to 0. More...
|
|
override float? | VerticalAxis [get] |
| A float value clamped between -1 for completely DOWN and 1 for completely UP. 0.5f would mean "half up". The exact interpretation of the values is up to the movement behaviours. More...
|
|
override int?? | VerticalAxisDigital [get] |
| A "digital" version of the vertical axis in which the only valid values are -1 for DOWN, 0 for NONE, and 1 for UP. More...
|
|
override ButtonState | VerticalAxisState [get] |
| Return ButtonState.DOWN if the axis state went from <= 0 to 1 or >= 0 to -1. Return ButtonState.HELD if the axis stayed at the same value and wasn't 0; Return ButtonState.UP if the axis state went from != 0 to 0. More...
|
|
override float? | AltHorizontalAxis [get] |
| A float value clamped between -1 for completely left and 1 for compeletely right. 0.5f would mean "half right". This implementation only returns -1.0f, 0.0f or 1.0f. More...
|
|
override int?? | AltHorizontalAxisDigital [get] |
| A "digital" version of the horizontal axis in which the only valid values are -1 for LEFT, 0 for NONE, and 1 for RIGHT. More...
|
|
override ButtonState | AltHorizontalAxisState [get] |
| Return ButtonState.DOWN if the axis state went from <= 0 to 1 or >= 0 to -1. Return ButtonState.HELD if the axis stayed at the same value and wasn't 0; Return ButtonState.UP if the axis state went from != 0 to 0. More...
|
|
override float? | AltVerticalAxis [get] |
| A float value clamped between -1 for completely DOWN and 1 for completely UP. 0.5f would mean "half up". The exact interpretation of the values is up to the movement behaviours. More...
|
|
override int?? | AltVerticalAxisDigital [get] |
| A "digital" version of the alternate vertical axis in which the only valid values are -1 for DOWN, 0 for NONE, and 1 for UP. More...
|
|
override ButtonState | AltVerticalAxisState [get] |
| Return ButtonState.DOWN if the axis state went from <= 0 to 1 or >= 0 to -1. Return ButtonState.HELD if the axis stayed at the same value and wasn't 0; Return ButtonState.UP if the axis state went from != 0 to 0. More...
|
|
override ButtonState | JumpButton [get] |
| State of the jump button. More...
|
|
override ButtonState | RunButton [get] |
| State of the run button. More...
|
|
override ButtonState | PauseButton [get] |
| State of the pause button. More...
|
|
override ButtonState | ActionButton [get] |
| State of the default action button. This could be pickup, attack, etc. If you need more buttons use the additional action use Input.GetActionButtonState() More...
|
|
override bool | AnyKey [get] |
| Returns true if any button or action key is being held. More...
|
|
abstract float | HorizontalAxis [get] |
| A float value clamped between -1 for completely left and 1 for compeletely right. 0.5f would mean "half right". The exact interpretation of the values is up to the movement behaviours. More...
|
|
abstract int | HorizontalAxisDigital [get] |
| A "digital" version of the horizontal axis in which the only valid values are -1 for LEFT, 0 for NONE, and 1 for RIGHT. More...
|
|
abstract ButtonState | HorizontalAxisState [get] |
| Return ButtonState.DOWN if the axis state went from <= 0 to 1 or >= 0 to -1. Return ButtonState.HELD if the axis stayed at the same value. Return ButtonState.UP if the axis state went from != 0 to 0. More...
|
|
abstract float | VerticalAxis [get] |
| A float value clamped between -1 for completely DOWN and 1 for completely UP. 0.5f would mean "half up". The exact interpretation of the values is up to the movement behaviours. More...
|
|
abstract int | VerticalAxisDigital [get] |
| A "digital" version of the alternate vertical axis in which the only valid values are -1 for DOWN, 0 for NONE, and 1 for UP. More...
|
|
abstract ButtonState | VerticalAxisState [get] |
| Return ButtonState.DOWN if the axis state went from <= 0 to 1 or >= 0 to -1. Return ButtonState.HELD if the axis stayed at the same value. Return ButtonState.UP if the axis state went from != 0 to 0. More...
|
|
abstract float | AltHorizontalAxis [get] |
| A float value clamped between -1 for completely left and 1 for compeletely right. 0.5f would mean "half right". The exact interpretation of the values is up to the movement behaviours. More...
|
|
abstract int | AltHorizontalAxisDigital [get] |
| A "digital" version of the alternate horizontal axis in which the only valid values are -1 for LEFT, 0 for NONE, and 1 for RIGHT. More...
|
|
abstract ButtonState | AltHorizontalAxisState [get] |
| Return ButtonState.DOWN if the axis state went from <= 0 to 1 or >= 0 to -1. Return ButtonState.HELD if the axis stayed at the same value. Return ButtonState.UP if the axis state went from != 0 to 0. More...
|
|
abstract float | AltVerticalAxis [get] |
| A float value clamped between -1 for completely DOWN and 1 for completely UP. 0.5f would mean "half up". The exact interpretation of the values is up to the movement behaviours. More...
|
|
abstract int | AltVerticalAxisDigital [get] |
| A "digital" version of the vertical axis in which the only valid values are -1 for DOWN, 0 for NONE, and 1 for UP. More...
|
|
abstract ButtonState | AltVerticalAxisState [get] |
| Return ButtonState.DOWN if the axis state went from <= 0 to 1 or >= 0 to -1. Return ButtonState.HELD if the axis stayed at the same value. Return ButtonState.UP if the axis state went from != 0 to 0. More...
|
|
abstract ButtonState | JumpButton [get] |
| State of the jump button. More...
|
|
abstract ButtonState | RunButton [get] |
| State of the run button. More...
|
|
abstract ButtonState | PauseButton [get] |
| State of the pause button. More...
|
|
abstract ButtonState | ActionButton [get] |
| State of the default action button. This could be pickup, attack, etc. If you need more buttons use the additional action use Input.GetActionButtonState() More...
|
|
abstract bool | AnyKey [get] |
| Returns true if any button or action key is being pressed. More...
|
|
virtual string | Header [get] |
| Gets the header string used to describe the component. More...
|
|
virtual string | DocLink [get] |
| Gets a link to documentation site. More...
|
|
virtual string | VideoLink [get] |
| Gets a link to a youtube video. More...
|
|
virtual string | Deprecated [get] |
| If non-null this component is deprecated. The string shows a message indicating how it should be replaced. More...
|
|
Wraps a standard input and allows you to define triggers as action buttons