ドキュメント

Unity Engine

Unity Engine

forceAssetUnloadAndGCOnSceneLoad

Forces a managed heap garbage collection and unloads unused assets after loading a scene in single mode in the Editor or exiting Prefab Mode. Disabling this can improve performance if you do not rely on managed class finalizers being called at that time.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool forceAssetUnloadAndGCOnSceneLoad { get; set; }