Editing an AFX graph

  • To edit a specific AFX graph, select the AFX graph file in the Project panel, and then select Edit graph in the Inspector panel.

Edit graph button in the Inspector panel

You can also double click a graph asset in the Project panel to edit it.

Editing an AFX graph when in Play Mode

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.

To open an AFX graph in play mode, complete the following steps:

  1. If an AFX graph is open, close it.

  2. Start play mode in the Unity editor.

  3. Select the game object the AFX graph that you want to open is attached to.

  4. 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.

AFX graph in

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.

Last updated