ProfilerCounterOptions
Use ProfilerCounterOptions to specify configuration options when creating a ProfilerCounter or ProfilerCounterValue.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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. |