こんにちは、今日はUnityのManaged Memoryサイズをスクリプトから取得する方法についてまとめていきます。
Profiler.GetMonoUsedSizeLong()
Profiler.GetMonoHeapSizeLong()
プログラム関連備忘録サイト。主にゲーム。
投稿日:
こんにちは、今日はUnityのManaged Memoryサイズをスクリプトから取得する方法についてまとめていきます。
Profiler.GetMonoUsedSizeLong()
Profiler.GetMonoHeapSizeLong()
関連記事
Unityで古いプロジェクトを開いた際に表示されるAPI Update Requiredダイアログ
確認環境 Unity 2019.4.28f1 表示内容 This project contains scripts and/or assemblies that use obsolete APIs.I …
UnityのVideo Playerで動画の終了を判定する方法
こんにちは、今日はUnityのVideo Playerで動画の終了を判定する方法についてまとめていきます。 確認環境 Unity 2018.4.15f1 動画の終了を判定する VideoPlayer. …
Unityでアプリケーションがフォーカスされていない場合に一時停止するかの設定
こんにちは、今日はUnityでアプリケーションがフォーカスされていない場合に一時停止するかの設定についてまとめていきます。 確認環境 Unity 2018.4.15f1 設定方法 Edit > Pro …
確認環境 Unity 2018.4.15f1 数値を指定範囲に収める Clamp public static int Clamp(int value, int min, int max); publi …