using UnityEngine.Events; namespace UnityEngine.VFX.Utility { [ExecuteAlways] [RequireComponent(typeof(VisualEffect))] class VFXOutputEventUnityEvent : VFXOutputEventAbstractHandler { public override bool canExecuteInEditor => false; public UnityEvent onEvent; public override void OnVFXOutputEvent(VFXEventAttribute eventAttribute) { onEvent?.Invoke(); } } }