Had a look onto UnityEventVisualizer, which looks very useful especially for bigger projects.
Tried porting it, the issue was that this EventManager is dynamic instead of static and connections are made on runtime (which is why it is great).
I had the following ideas to solve it, but neither is really good:
- Use a static code analyzer to check for AddListener and Raise in the code
- Extend EventManager to give that information at runtime. This would however only work if all Event-Raises are executed etc... The picture would probably be incomplete in most of the cases
Do you have a better idea on how such a visualization could be implemented?
Had a look onto UnityEventVisualizer, which looks very useful especially for bigger projects.
Tried porting it, the issue was that this EventManager is dynamic instead of static and connections are made on runtime (which is why it is great).
I had the following ideas to solve it, but neither is really good:
Do you have a better idea on how such a visualization could be implemented?