Click or drag to resize

Button Properties

The PlayerControllerButton type exposes the following members.

Properties
  NameDescription
Public propertyactionId
The Action id of the Action which will be used as the input source for the Element.
(Inherited from PlayerControllerElementWithSource.)
Public propertyactionName
The Action name of the Action which will be used as the input source for the Element.
(Inherited from PlayerControllerElementWithSource.)
Public propertyenabled
Is this element enabled? Disabled elements return no value.
(Inherited from PlayerControllerElement.)
Public propertyjustPressed
Returns True only on the first frame the button was pressed.
Public propertyjustReleased
Returns True only on the first frame the button was released.
Public propertyname
The name of the element.
(Inherited from PlayerControllerElement.)
Public propertyvalue
The current value.
Public propertyvaluePrev
The value in the previous frame.
Top
See Also