public void DestroyWithoutScore() { lockOn.RemoveMe(transform); OnDestroyWithoutScore.Invoke(); if (!Addressables.ReleaseInstance(this.gameObject)) { Destroy(gameObject); } }
public void DestroyWithoutScore() { lockOn.RemoveMe(transform); OnDestroyWithoutScore.Invoke(); StartCoroutine(this.DelayMethod(1f, () => { if (!Addressables.ReleaseInstance(this.gameObject)) { Destroy(gameObject); } })); }