public void DestroyEntity() { if (entity != null) { PoolingManager.DestroyPooling(entity); entity = null; } }