文档

Unity Engine

Unity Engine

Capacity

Maximum amount of samples ProfilerRecorder can capture.
阅读时间1 分钟最后更新于 2 天前

Definition

public int Capacity { get; }

Remarks

Shows the maximum amount of samples the ProfilerRecorder can capture. You can use this to set a maximum array size when you copy collected sample data with ProfilerRecorder.CopyTo or ProfilerRecorder.GetSample methods.