Class ButtonBinding
Trigger binding, exposes a button in the inspector to press.
Inherited Members
Binding<EmptyType>.data
IComponentAttachment._guid
IComponentAttachment._parent
IComponentAttachment.Bind()
Namespace: Mechatronics.SensorSDK
Assembly: solution.dll
Syntax
[RegisterBinding(typeof(ButtonBinding), true)]
[AddComponentMenu("")]
public class ButtonBinding : Binding<EmptyType>
Methods
Name | Description |
---|---|
OnTriggerCallback() | Calls the registered node. |
RegisterCallback(Action) | Register to receive callbacks for trigger events. |
UnregisterCallback(Action) | Unregister a regitered callback. |