So I want to profile my editor code, obviously without having to enter playmode. In my codes, I have:
public override void OnInspectorGUI()
{
Profiler.BeginSample("BetterEditor OnInspectorGUI", target);
// code
Profiler.EndSample();
}
I look at the profiler hierarchy and I don’t see my label anywhere. I have ‘Profile editor’ selected. I’m not sure how this is supposed to work. Any ideas?
