Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ProfilerCounterOptions

Use ProfilerCounterOptions to specify configuration options when creating a ProfilerCounter or ProfilerCounterValue.
Read time 1 minuteLast updated 4 days ago

Definition

[Flags]public enum ProfilerCounterOptions : ushort

Fields

Value

Description

FlushOnEndOfFrameSpecifies that the counter's current value should be reported to the Unity Profiler every frame.
NoneSpecifies no options.
ResetToZeroOnFlushSpecifies that the counter's current value should be reset to zero each time it is reported to the Unity Profiler.