Class BoltAnimationEvent
Called when an animation event points to TriggerAnimationEvent.
Inheritance
BoltAnimationEvent
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Events/Animation")]
[UnitShortTitle("Animation Event")]
[UnitTitle("Animation Event")]
[TypeIcon(typeof(Animation))]
public sealed class BoltAnimationEvent : MachineEventUnit<AnimationEvent>, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphEventListener, IGraphElementWithData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IGraphEventHandler<AnimationEvent>
Properties
floatParameter
The float parameter passed to the event.
Declaration
[DoNotSerialize]
[PortLabel("Float")]
public ValueOutput floatParameter { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
hookName
Declaration
protected override string hookName { get; }
Property Value
Type | Description |
---|---|
String |
Overrides
Unity.VisualScripting.MachineEventUnit<UnityEngine.AnimationEvent>.hookName
intParameter
The integer parameter passed to the function.
Declaration
[DoNotSerialize]
[PortLabel("Integer")]
public ValueOutput intParameter { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
objectReferenceParameter
The Unity object parameter passed to the function.
Declaration
[DoNotSerialize]
[PortLabel("Object")]
public ValueOutput objectReferenceParameter { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
stringParameter
The string parameter passed to the event.
Declaration
[DoNotSerialize]
[PortLabel("String")]
public ValueOutput stringParameter { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
AssignArguments(Flow, AnimationEvent)
Declaration
protected override void AssignArguments(Flow flow, AnimationEvent args)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow | |
AnimationEvent | args |
Overrides
Unity.VisualScripting.EventUnit<UnityEngine.AnimationEvent>.AssignArguments(Unity.VisualScripting.Flow, UnityEngine.AnimationEvent)
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.EventUnit<UnityEngine.AnimationEvent>.Definition()