How to Link To Visual Effect By Specific Type In Variable


In the image above I am able to link a Visually Effect to a variable in my script machine by specifying Component as the underlying type. While this does work for getting the reference this isn’t great with Unity’s UI if the Visual Effect is on a different game object–you wind up having to lock an inspector.

Is there a way to specify the type as “Visual Effect” explicitly? In the below searches you can see there are no results for the type! I have added the vfx graph package into the visual scripting settings but I can’t access the actual important type here!

9453854--1327514--upload_2023-11-6_12-31-40.png

add visual effect to the type options

Visual effect isn’t an option in the type options even with the assembly added to visual scripting. But more than that, the type options are generally for non-component types from what I understand. Not for stuff you can just link in the inspector.