기술 자료

Unity Engine

Unity Engine

GetTotalReservedMemory()

Returns the amount of reserved system memory.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

경고
Deprecated. GetTotalReservedMemory has been deprecated since it is limited to 4GB. Please use GetTotalReservedMemoryLong() instead.
public static uint GetTotalReservedMemory()

Returns

Type

Description

uint

Remarks

Unity requests the amount of memory that the game will use. Profiler.GetTotalReservedMemory is the full amount that Unity currently has. Part of this memory is used by the game using Profiler.GetTotalAllocatedMemory, and the remainer is stored and unused.