ProfilerCounterOptions
Use ProfilerCounterOptions to specify configuration options when creating a ProfilerCounter or ProfilerCounterValue.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: Unity.Profiling
- Assembly: UnityEngine.CoreModule
[Flags]public enum ProfilerCounterOptions : ushort
Fields
Value | Description |
|---|---|
| FlushOnEndOfFrame | Specifies that the counter's current value should be reported to the Unity Profiler every frame. |
| None | Specifies no options. |
| ResetToZeroOnFlush | Specifies that the counter's current value should be reset to zero each time it is reported to the Unity Profiler. |