Phaser API Documentation

  Version: 
This is a beta release of our new docs system. Found an issue?
Please tell us about it in the #📖-newdocs-feedback channel on the Phaser Discord
Event: DESTROY
Phaser.Cameras.Scene2D.Events.DESTROY
DESTROY

Description:

The Destroy Camera Event.

This event is dispatched by a Camera instance when it is destroyed by the Camera Manager.

Parameters:

name type description
camera Phaser.Cameras.Scene2D.BaseCamera

The camera that was destroyed.

Since: 3.0.0