Class BoltUnityEvent
Called when a UnityEvent points to TriggerUnityEvent.
Inheritance
BoltUnityEvent
Inherited Members
Namespace: Ludiq.Bolt
Syntax
[UnitCategory("Events", 2)]
[UnitDisplay("UnityEvent")]
public sealed class BoltUnityEvent : ComponentEventUnit<string>, ISerializationCallbackReceiver, IEventHandlerUnit, IEventUnit, IBehaviourUnit, IUnit, IGraphElementWithDebugData, IBehaviourGraphElement, IGraphElementWithData, IGraphElement, IGraphChild, IObservableDisposable, IDisposable, INotifiedCollectionChild<IGraph>, ICollectionChild<IGraph>, IPrewarmable, IIdentifiable, INotifyPropertyChanged, IGraphEventHandler<string>
Properties
hookID
Declaration
public override EventHookID hookID { get; }
Property Value
| Type | Description |
|---|---|
| EventHookID |
Overrides
Ludiq.Bolt.EventHandlerUnit<System.String>.hookID
name
The name of the event. The event will only trigger if this value is equal to the string parameter passed in the UnityEvent.
Declaration
[DoNotSerialize]
[UnitPortDisplay(showLabel = false)]
public ValueInput name { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Ludiq.Bolt.EventHandlerUnit<System.String>.Definition()
ShouldInvoke(Flow, String)
Declaration
protected override bool ShouldInvoke(Flow flow, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow | |
| String | name |
Returns
| Type | Description |
|---|---|
| Boolean |
Overrides
Ludiq.Bolt.EventHandlerUnit<System.String>.ShouldInvoke(Ludiq.Bolt.Flow, System.String)