private void destroyBubble(BubbleController bubbleController, bool explodes) { this._matrix.remove(bubbleController.bubble); this._bubbleControllers.Remove(bubbleController); bubbleController.CollisionDelegate = null; bubbleController.kill(explodes); //Destroy(bubbleController.gameObject); }
private void destroyBubble(BubbleController bubbleController, bool explodes){ this._matrix.remove(bubbleController.bubble); this._bubbleControllers.Remove(bubbleController); bubbleController.CollisionDelegate = null; bubbleController.kill(explodes); //Destroy(bubbleController.gameObject); }