Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ToArray()

Use to convert collected samples to an array.
Read time 1 minuteLast updated 4 days ago

Definition

public ProfilerRecorderSample[] ToArray()

Returns

Remarks

Note: Accessing this method allocates a new managed array on every access, which contributes to GC allocated memory. As such, this might slow down the performance of your application.