Unity/C#2024. 4. 29. 18:13[Unity] 짧은 팁 - 사용중인 시스템 메모리 용량 구하기
public void ShowMemoryStatus() { Debug.Log("Total Reserved memory by Unity: " + ((Profiler.GetTotalReservedMemoryLong() / 1024f) / 1024f) + "MB"); Debug.Log("- Allocated memory by Unity: " + ((Profiler.GetTotalAllocatedMemoryLong() / 1024f) / 1024f) + "MB"); Debug.Log("- Reserved but not allocated: " + ((Profiler.GetTotalUnusedReservedMemoryLong() / 1024f) / 1024f) + "MB"..