Version: 2017.2

MemorySnapshot

class in UnityEditor.MemoryProfiler

매뉴얼로 전환

설명

MemorySnapshot is a profiling tool to help diagnose memory usage.

MemorySnapshot, and all types in UnityEditor.MemoryProfiler.* are very experimental API, and will very likely change significantly going forward. Currently only il2cpp-based players are able to provide memory snapshots. The editor, and mono-based players will not respond to requests for new snapshots.

정적 함수

RequestNewSnapshotRequests a new snapshot from the currently connected target of the profiler. Currently only il2cpp-based players are able to provide memory snapshots.

Events

OnSnapshotReceivedEvent that will be fired when a new memory snapshot comes in through the profiler connection. Its argument will be a PackedMemorySnapshot.