Now also available at the Unity asset store! (free, reviews appreciated)
WhatHave you ever come across a project that abuses linking UnityEvents in the inspector and now you can not find who is calling what? Unity Event Visualizer is a visual tool that allows you to see all the UnityEvents in a scene at a glance and when they are being triggered. It creates a graph in which nodes are gameobjects, outputs are any type of UnityEvent (custom ones supported as well!) and inputs are methods.
Grab the installer from the Releases section and import it into your project. Or alternatively download it directly from the Unity asset store
Windows/Events Graph Editoryou can open the graph.
Select any root gameobject(s) and click on
Rebuild on selected hierarchyto generate a graph of all events being fired by the selected hierarchy, or
Rebuild JUST selectedto generate a graph of all events being fired by exactly the selected gameobjects. You can deselect everything and click any of the buttons to generate the graph of the entire scene, but beware for massive graphs!
Click on any node to highlight that gameobjects in your hiearchy. Alternatively right-click on any element in the hierarchy and select
UnityEventGraph/FindThisto highlight it in the graph. Or
UnityEventGraph/Graph Just Thisand
UnityEventGraph/Graph This Hierarchyin order to create a graph starting just in this gameobject or any of its children respectively.
Scene View https://www.youtube.com/watch?v=IhG0LRFLmdo.
Pull requests welcome!