DontUnloadUnusedAsset
The object will not be unloaded by Resources.UnloadUnusedAssets.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
DontUnloadUnusedAsset = 32
Remarks
You must manually clear the object from memory using DestroyImmediate to avoid memory leaks.