文档

Unity Engine

Unity Engine

GetTotalUnusedReservedMemory()

Returns the amount of reserved but not used system memory.
阅读时间1 分钟最后更新于 1 个月前

Definition

警告
Deprecated. GetTotalUnusedReservedMemory has been deprecated since it is limited to 4GB. Please use GetTotalUnusedReservedMemoryLong() instead.
public static uint GetTotalUnusedReservedMemory()

Returns

Type

Description

uint

Remarks

Unity assumes that the game will use more memory. The value of Profiler.GetTotalUnusedReservedMemory reports the total amount of memory currently available.