Skip to content

【Unity】Unity や Mono が確保したメモリの使用状況を取得できるスクリプト

Notifications You must be signed in to change notification settings

baba-s/UniMemoryChecker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniMemoryChecker

Unity や Mono が確保したメモリの使用状況を取得できるスクリプト

使用例

using Kogane;
using UnityEngine;

public class Example : MonoBehaviour
{
    private void OnGUI()
    {
        GUILayout.Label( MonoMemoryChecker.UsedText );
        GUILayout.Label( MonoMemoryChecker.TotalText );
        GUILayout.Label( UnityMemoryChecker.UsedText );
        GUILayout.Label( UnityMemoryChecker.UnusedText );
        GUILayout.Label( UnityMemoryChecker.TotalText );
    }
}

About

【Unity】Unity や Mono が確保したメモリの使用状況を取得できるスクリプト

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages