Class OnButtonInput
A configurable event to handle global button input.
Inheritance
OnButtonInput
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Events/Input")]
public sealed class OnButtonInput : ComponentEventUnit<EmptyEventArgs>, ISerializationCallbackReceiver, IEventHandlerUnit, IEventUnit, IBehaviourUnit, IUnit, IGraphElementWithDebugData, IBehaviourGraphElement, IGraphElementWithData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, IGraphEventHandler<EmptyEventArgs>
Properties
action
The type of input.
Declaration
[DoNotSerialize]
public ValueInput action { get; }
Property Value
Type | Description |
---|---|
ValueInput |
buttonName
The name of the button that received input.
Declaration
[DoNotSerialize]
[UnitPortDisplay("Name")]
public ValueInput buttonName { get; }
Property Value
Type | Description |
---|---|
ValueInput |
hookID
Declaration
public override EventHookID hookID { get; }
Property Value
Type | Description |
---|---|
EventHookID |
Overrides
Ludiq.Bolt.EventHandlerUnit<Ludiq.Bolt.EmptyEventArgs>.hookID
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.EventHandlerUnit<Ludiq.Bolt.EmptyEventArgs>.Definition()
ShouldInvoke(Flow, EmptyEventArgs)
Declaration
protected override bool ShouldInvoke(Flow flow, EmptyEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
EmptyEventArgs | args |
Returns
Type | Description |
---|---|
Boolean |
Overrides
Ludiq.Bolt.EventHandlerUnit<Ludiq.Bolt.EmptyEventArgs>.ShouldInvoke(Ludiq.Bolt.Flow, Ludiq.Bolt.EmptyEventArgs)