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
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Object.GetHashCode()
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.VFX.Utility
Assembly: Unity.VisualEffectGraph.Runtime.dll
Syntax
[ExecuteAlways]
[RequireComponent(typeof(VisualEffect))]
public abstract class VFXOutputEventAbstractHandler : MonoBehaviour
Fields
Name | Description |
---|---|
executeInEditor | Property to enable or disable the execution in editor. |
outputEvent | The name of the output event to catch. |
Properties
Name | Description |
---|---|
canExecuteInEditor | Returns false if this output event handler can only be executed in play mode or runtime. |
m_VisualEffect | The VisualEffect emitter of the output event. |
Methods
Name | Description |
---|---|
OnDisable() | This function is called when the behavior becomes disabled. |
OnEnable() | This function is called when the object becomes enabled and active. |
OnVFXOutputEvent(VFXEventAttribute) | 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. |