Fixed this return types for Phaser.Cameras.Scene2D.CameraManager

This commit is contained in:
Jason Kwok 2020-01-30 23:07:23 +08:00
parent 293f6e77f5
commit b9e3a6395b

View file

@ -395,7 +395,7 @@ var CameraManager = new Class({
* *
* @param {(Phaser.Types.Cameras.Scene2D.CameraConfig|Phaser.Types.Cameras.Scene2D.CameraConfig[])} config - A Camera configuration object, or an array of them, to be added to this Camera Manager. * @param {(Phaser.Types.Cameras.Scene2D.CameraConfig|Phaser.Types.Cameras.Scene2D.CameraConfig[])} config - A Camera configuration object, or an array of them, to be added to this Camera Manager.
* *
* @return {Phaser.Cameras.Scene2D.CameraManager} This Camera Manager instance. * @return {this} This Camera Manager instance.
*/ */
fromJSON: function (config) fromJSON: function (config)
{ {