기술 자료

Unity Engine

Unity Engine

DontUnloadUnusedAsset

The object will not be unloaded by Resources.UnloadUnusedAssets.
읽는 시간 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.