This version of Unity is unsupported.

ProfilerRecorder.ToArray

Declaration

public ProfilerRecorderSample[] ToArray();

Description

Use to convert collected samples to an array.

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.