Hello,
I would like to have a static class that I can call from my custom menu, to run some editor functions with a timer attached, so I can see how long it takes.
For example,
I want to run a lightmapping.bakeasync operation from my own custom menu and report the time it took to bake.
What is the most proper way to do this in a static class ?
Thanks