Visualizes UnityEvents in a scene as a graph.
Open the Package Manager in Unity (Window
> Package Manager
), click on the "+" button, select "Add package from git URL...", and paste the following URL:
https://github.com/FluffySpectre/unity-event-graph.git#1.0.0
Alternatively, you can add the following line to your manifest.json file located in the Packages directory of your Unity project:
"com.fluffyspectre.unityeventgraph": "https://github.com/FluffySpectre/unity-event-graph.git#1.0.0"
-
Open the Unity Event Graph Window:
- In the Unity-Menubar go to
Window
>Event Graph
.
- In the Unity-Menubar go to
-
Visualize Events:
- You can select one or more GameObjects in the hierarchy, that contain the UnityEvents you want to visualize.
- Click on "Rebuild" to create the graph from the selection or the entire scene.
- You can see the connections between different events and their listeners.
-
Layout-Options:
- Select "Layout" to choose from different layout strategies.
- Drag nodes to rearrange the graph for better visibility.
-
Rebuild the Graph:
- If you make changes to the UnityEvents, click the
Rebuild
button in the Unity Event Graph window to update the graph.
- If you make changes to the UnityEvents, click the
-
Save node positions:
- Click on "Save" to persist the graphs node positions for the current active scene.