Struct ProfilerCategory
Defines a profiling category when you create a ProfilerMarker.
Namespace: Unity.Profiling
Assembly: solution.dll
Syntax
public struct ProfilerCategory
Properties
| Name | Description |
|---|---|
| Ai | A ProfilerMarker that belongs to the Ai or NavMesh system. |
| Animation | A ProfilerMarker that belongs to the Animation system. |
| Audio | A ProfilerMarker that belongs the to Audio system. |
| GUI | A ProfilerMarker that belongs to the UI system. |
| Input | A ProfilerMarker that belongs to the Input system. |
| Lighting | A ProfilerMarker that belongs to the Lighting system. |
| Loading | A ProfilerMarker that belongs to the Loading or Streaming system. |
| Network | A ProfilerMarker that belongs to the Networking system. |
| Particles | A ProfilerMarker that belongs to the Particle system. |
| Physics | A ProfilerMarker that belongs to the Physics system. |
| Render | A ProfilerMarker that belongs to the Render system. |
| Scripts | Default category for all ProfilerMarkers defined in scripting code. |
| Video | A ProfilerMarker that belongs to the Video system. |
| Vr | A ProfilerMarker that belongs to the VR system. |
Operators
| Name | Description |
|---|---|
| implicit operator ushort(ProfilerCategory) | Utility operator that simplifies usage of the ProfilerCategory with ProfilerUnsafeUtility. |