ResetToZeroOnFlush
Specifies that the counter's current value should be reset to zero each time it is reported to the Unity Profiler.
읽는 시간 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