Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Convert(PackedMemorySnapshot, string)

Converts the specified old format PackedMemorySnapshot object to a new PackedMemorySnapshot format object and writes it to the location and file name specified the the write path.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Deprecated. This API is outdated and will be removed. Please check out the Memory Profiler Package (https://docs.unity3d.com/Packages/com.unity.memoryprofiler@latest/)
public static bool Convert(PackedMemorySnapshot snapshot, string writePath)

Parameters

The old format snapshot object.

writePath

Destination path and file name for the file containing the converted snapshot.

Returns

Type

Description

boolTrue if the conversion was successful; otherwise false.