Version: 2020.2
Experimental: this API is experimental and might be changed or removed in the future.

PackedMemorySnapshot.Convert

切换到手册
public static bool Convert (MemoryProfiler.PackedMemorySnapshot snapshot, string writePath);

参数

snapshot 旧格式快照对象。
writePath 包含已转换快照的文件的目标路径和文件名。

返回

bool 如果转换成功,则为 true;否则为 false。

描述

将指定的旧格式 PackedMemorySnapshot 对象转换为新格式 PackedMemorySnapshot 对象,并将其写入指定的写入路径位置和文件名。