PlayerControllerButton Class |
Namespace: Rewired
public sealed class Button : PlayerControllerElementWithSource
The PlayerControllerButton type exposes the following members.
Name | Description | |
---|---|---|
actionId |
The Action id of the Action which will be used as the input source for the Element.
(Inherited from PlayerControllerElementWithSource.) | |
actionName |
The Action name of the Action which will be used as the input source for the Element.
(Inherited from PlayerControllerElementWithSource.) | |
enabled |
Is this element enabled? Disabled elements return no value.
(Inherited from PlayerControllerElement.) | |
justPressed |
Returns True only on the first frame the button was pressed.
| |
justReleased |
Returns True only on the first frame the button was released.
| |
name |
The name of the element.
(Inherited from PlayerControllerElement.) | |
value |
The current value.
| |
valuePrev |
The value in the previous frame.
|