Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.