using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.AddressableAssets; public class AddressableReleaseSelf : MonoBehaviour { void OnDestroy() { Addressables.ReleaseInstance(gameObject); } }