Version: 2021.2

Profiler.usedHeapSizeLong

매뉴얼로 전환
public static long usedHeapSizeLong ;

반환

long Size of the memory allocated by Unity (or 0 if the profiler is disabled).

설명

Returns the number of bytes that Unity has allocated. This does not include bytes allocated by external libraries or drivers.