Rasagar/Library/PackageCache/com.unity.visualeffectgraph/Documentation~/Context-Event.md
2024-08-26 23:07:20 +03:00

1.3 KiB
Raw Permalink Blame History

Event

Menu Path : Context > Event

The Event Context defines input event names. It doesnt necessarily require unique naming; you can duplicate the same event name in different places within the graph.

Context settings

Setting Type Description
Event Name String The name of the event. This name appears in the list of names that GetOutputEventNames returns. The default value, OnPlay, is the name of the event that the VFX Graph sends to the Spawn Context by default.
The Send button gets every active Visual Effect component within the currently open scene and uses VisualEffect.SendEvent to send this event to them all. This means Send also affects components which don't use the Visual Effect Asset you are editing.

Flow

Port Description
Output Connection to a Spawn Context.