public void AutoDestroyObject() { spawnable.EnableCollision(false); spawnable.DisplayVisuals(false); if (autoDestroyEffect != null) { autoDestroyEffect.SpawnEffect(); } // Release to pool spawnable.Release(); }