Phaser API Documentation

  Version: 
resetAll()

Description:

Resets this Camera Manager.

This will iterate through all current Cameras, destroying them all, then it will reset the cameras array, reset the ID counter and create 1 new single camera using the default values.

Returns:
Description:

The freshly created main Camera.

Since: 3.0.0