Is there a way to add additional profiler blocks to the unity profiler? For example, plot amount of AI path calculations per frame, similar to the rendering profiler?
EDIT:
I am interested in how to add profiler areas like the already existing ones in unity, as listed in the “Profiling.ProfilerArea” enumeration. I am not referring to Profiler.begin/endsample which adds cpu sample blocks, this is not what i am interested in.
What are you referring too specifically? I’m not sure how i would accomplish that.
I am interested in how to add profiler blocks like the already existing ones in unity, as listed in the “Profiling.ProfilerArea” enumeration. I suspect you are referring to Profiler.begin/endsample which adds cpu sample blocks, which is not what i am interested in.