ResetToZeroOnFlush
Specifies that the counter's current value should be reset to zero each time it is reported to the Unity Profiler.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Field
- Namespace: Unity.Profiling
- Assembly: UnityEngine.CoreModule
ResetToZeroOnFlush = 4
Remarks
If the counter has also been configured with ProfilerCounterOptions.FlushOnEndOfFrame, then this will cause the counter's value to be reset to zero at the end of every frame. Otherwise, it will be reset to zero every time it is manually reported via its method.
Sample