Use to specify category for instrumentation Profiler markers.
using Unity.Profiling;
public class MySystemClass { static readonly ProfilerMarker s_SimulatePerfMarker = new ProfilerMarker(ProfilerCategory.Ai, "MySystem.Simulate");
public void UpdateLogic() { using (s_SimulatePerfMarker.Auto()) { // ... } } }
See Also: ProfilerMarker.
Ai | AI and NavMesh Profiler category. |
Animation | Animation Profiler category. |
Audio | Audio system Profiler category. |
Gui | UI Profiler category. |
Input | Input system Profiler category. |
Internal | Internal Unity systems Profiler category. |
Lighting | Global Illumination Profiler category. |
Loading | Loading system Profiler category. |
Memory | Memory allocation Profiler category. |
Network | Networking system Profiler category. |
Particles | Particle system Profiler category. |
Physics | Physics system Profiler category. |
Render | Rendering system Profiler category. |
Scripts | Generic C# code Profiler category. |
Video | Video system Profiler category. |
VirtualTexturing | Virtual Texturing system Profiler category. |
Vr | VR systen Profiler category. |
ProfilerCategory | Use to construct ProfilerCategory by category name. |