手册
脚本 API
unity3d.com
Version:
2018.4
2022.1
2021.3
2021.2
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.6
手册
脚本 API
语言:
中文
English
中文
日本語
Español
한국어
Русский
脚本 API
Version:
2018.4
2022.1
2021.3
2021.2
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
2018.3
2018.2
2018.1
2017.4
2017.3
2017.2
2017.1
5.6
Experimental
: this API is experimental and might be changed or removed in the future.
MemoryProfiler
class in UnityEngine.Profiling.Memory.Experimental
切换到手册
描述
内存性能分析 API 容器类。
此 API 在编辑器和播放器之间是统一的。
静态函数
TakeSnapshot
触发内存快照捕获。
TakeTempSnapshot
触发以 Application.temporaryCachePath 文件夹为目标位置的内存快照捕获。
Events
createMetaData
可以订阅元数据收集方法的事件。