HideFlags.DontUnloadUnusedAsset

Cambiar al Manual

Descripción

The object will not be unloaded by Resources.UnloadUnusedAssets.

It is your responsibility to cleanup the object manually using DestroyImmediate, otherwise it will leak.