Editing an AFX graph
Last updated
Last updated
To edit a specific AFX graph, select the AFX graph file in the Project panel, and then select Edit graph in the Inspector panel.
You can also double click a graph asset in the Project panel to edit it.
When you enter play mode in the Unity editor, you can access a live view of any AFX graph that's part of the scene. If you make changes to a live graph you will see the effect in real-time.
If you make changes to a live view of an AFX graph, those changes are not saved when you exit play mode.
To open an AFX graph in play mode, complete the following steps:
If an AFX graph is open, close it.
Start play mode in the Unity editor.
Select the game object the AFX graph that you want to open is attached to.
In the Inspector panel, select Edit Graph.
When you open an AFX graph as a live view, the word "Clone" is displayed after the graph's name in the top-left corner of the canvas. A blue highlight identifies the active flow, and if you hover the cursor over a variable output port, a tooltip shows the current value.
If you want to edit an AFX graph while the Unity editor is in play mode, and have those changes to the AFX graph saved, open the AFX graph from the Project panel.