ドキュメント

Unity Engine

Download Unity

Unity Engine

RequestNewSnapshot()

Requests a new snapshot from the currently connected target of the Profiler.
読み終わるまでの所要時間 1 分最終更新 22日前

Definition

注意
Deprecated. Use Unity.Profiling.Memory.MemoryProfiler.TakeSnapshot() instead
public static void RequestNewSnapshot()

Remarks

This method is obsolete. Use MemoryProfiler.TakeSnapshot instead.
Each snapshot consists of approximately one managed object per recorded managed object. Snapshots taken from the Editor contain the objects in all previous snapshots that haven't been garbage-collected. Therefore, repeated snapshots of the Editor might grow exponentionally. If you no longer need an old snapshot, null all references to it and call Collect before taking another one.