Version: 2019.1
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.