Class VFXOutputEventAbstractHandler
A VFXOutputEventAbstractHandler is an API helper that hooks into an Output Event to allow you to execute scripts based on the event.
Inherited Members
Namespace: UnityEngine .VFX.Utility
Assembly: Unity.VisualEffectGraph.Runtime.dll
Syntax
[ExecuteAlways]
[RequireComponent(typeof(VisualEffect))]
public abstract class VFXOutputEventAbstractHandler : MonoBehaviour
Fields
Name | Description |
---|---|
execute |
Property to enable or disable the execution in editor. |
output |
The name of the output event to catch. |
Properties
Name | Description |
---|---|
can |
Returns false if this output event handler can only be executed in play mode or runtime. |
m_Visual |
The VisualEffect emitter of the output event. |
Methods
Name | Description |
---|---|
On |
This function is called when the behavior becomes disabled. |
On |
This function is called when the object becomes enabled and active. |
On |
This function is called when the specified event in outputEvent on the attached VisualEffect is triggered. The VFXEventAttribute passed as parameter is temporary and can be modified in a later process. |