Phaser API Documentation



Destroys this Camera instance and its internal properties and references. Once destroyed you cannot use this Camera again, even if re-added to a Camera Manager.

This method is called automatically by CameraManager.remove if that methods runDestroy argument is true, which is the default.

Unless you have a specific reason otherwise, always use CameraManager.remove and allow it to handle the camera destruction, rather than calling this method directly.

Since: 3.0.0