Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsEnabled()

Reports whether the metrics system for the AsyncReadManager is currently recording data.
Read time 1 minuteLast updated 12 days ago

Definition

public static bool IsEnabled()

Returns

Type

Description

boolTrue, if the metrics system of the AsyncReadManager is currently recording data; false, otherwise.

Remarks

Start metrics collection with AsyncReadManagerMetrics.StartCollectingMetrics and end recording with AsyncReadManagerMetrics.StopCollectingMetrics. You can also enable metrics collection when your program first launches using the command-line argument "-enable-file-read-metrics". You can only collect metrics in development builds.