You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -519,10 +519,10 @@ var CameraManager = new Class({
519
519
520
520
/**
521
521
* Removes the given Camera, or an array of Cameras, from this Camera Manager.
522
-
*
522
+
*
523
523
* If found in the Camera Manager it will be immediately removed from the local cameras array.
524
524
* If also currently the 'main' camera, 'main' will be reset to be camera 0.
525
-
*
525
+
*
526
526
* The removed Cameras are automatically destroyed if the `runDestroy` argument is `true`, which is the default.
527
527
* If you wish to re-use the cameras then set this to `false`, but know that they will retain their references
528
528
* and internal data until destroyed or re-added to a Camera Manager.
@@ -532,7 +532,7 @@ var CameraManager = new Class({
532
532
*
533
533
* @param {(Phaser.Cameras.Scene2D.Camera|Phaser.Cameras.Scene2D.Camera[])} camera - The Camera, or an array of Cameras, to be removed from this Camera Manager.
534
534
* @param {boolean} [runDestroy=true] - Automatically call `Camera.destroy` on each Camera removed from this Camera Manager.
535
-
*
535
+
*
536
536
* @return {integer} The total number of Cameras removed.
537
537
*/
538
538
remove: function(camera,runDestroy)
@@ -574,7 +574,7 @@ var CameraManager = new Class({
574
574
575
575
/**
576
576
* The internal render method. This is called automatically by the Scene and should not be invoked directly.
577
-
*
577
+
*
578
578
* It will iterate through all local cameras and render them in turn, as long as they're visible and have
579
579
* an alpha level > 0.
580
580
*
@@ -607,7 +607,7 @@ var CameraManager = new Class({
607
607
608
608
/**
609
609
* Resets this Camera Manager.
610
-
*
610
+
*
611
611
* This will iterate through all current Cameras, destroying them all, then it will reset the
612
612
* cameras array, reset the ID counter and create 1 new single camera using the default values.
613
613
*
@@ -655,9 +655,9 @@ var CameraManager = new Class({
655
655
* @since 3.18.0
656
656
*
657
657
* @param {Phaser.Structs.Size} gameSize - The default Game Size object. This is the un-modified game dimensions.
658
-
* @param {Phaser.Structs.Size} baseSize - The base Size object. The game dimensions multiplied by the resolution. The canvas width / height values match this.
658
+
* @param {Phaser.Structs.Size} baseSize - The base Size object. The game dimensions. The canvas width / height values match this.
0 commit comments