Adding an AFX graph to a game object
Last updated
Last updated
To add an AFX to a game object, such as an IFX, complete the following steps:
In the Hierarchy panel, select the game object.
In the Inspector panel, select Add Component.
In the list of components, select AFX, and then select AFX Engine.
When you add an AFX Engine component, an AFX Object Reference Manager component is added automatically.
Drag the AFX graph file from the Project panel to the Graph field of the AFX Engine component.
If the AFX graph includes any reference nodes, or you add any reference nodes in the future, the corresponding property fields appear in the AFX Object Reference Manager component. For more information, see References.
After you add an AFX graph to an object, you can select Edit Graph in the AFX Engine component to open that graph.