nightward/Assets/Scripts/Util/AddressableReleaseSelf.cs

9 lines
160 B
C#

using UnityEngine;
public class AddressableReleaseSelf : MonoBehaviour
{
void OnDestroy()
{
//Addressables.ReleaseInstance(gameObject);
}
}