public void Destroy() { if (isDestroyed) { return; } isDestroyed = true; if (DidDestroy != null) { DidDestroy.Emit(true); } }