Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ResetToZeroOnFlush

Specifies that the counter's current value should be reset to zero each time it is reported to the Unity Profiler.
Read time 1 minuteLast updated 10 days ago

Definition

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
Sample
method.