Skip to content

Visualizing Senders and Listeners #2

@monsdar

Description

@monsdar

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions