HideFlags.DontUnloadUnusedAsset

Cambiar al Manual

Descripción

The object will not be unloaded by Resources.UnloadUnusedAssets.

You must manually clear the object from memory using DestroyImmediate to avoid memory leaks.