mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 06:00:41 +00:00
Fix getScene return type. Fix #6821
This commit is contained in:
parent
abccbc9631
commit
04f54b888a
2 changed files with 4 additions and 3 deletions
|
@ -885,7 +885,6 @@ var SceneManager = new Class({
|
|||
*
|
||||
* @generic {Phaser.Scene} T
|
||||
* @genericUse {(T|string)} - [key]
|
||||
* @genericUse {T} - [$return]
|
||||
*
|
||||
* @param {(string|Phaser.Scene)} key - The key of the Scene to retrieve.
|
||||
*
|
||||
|
|
|
@ -1015,11 +1015,13 @@ var ScenePlugin = new Class({
|
|||
},
|
||||
|
||||
/**
|
||||
* Retrieve a Scene.
|
||||
* Retrieves a Scene based on the given key.
|
||||
*
|
||||
* If an actual Scene is passed to this method, it can be used to check if
|
||||
* its currently within the Scene Manager, or not.
|
||||
*
|
||||
* @generic {Phaser.Scene} T
|
||||
* @genericUse {(T|string)} - [key]
|
||||
* @genericUse {T} - [$return]
|
||||
*
|
||||
* @method Phaser.Scenes.ScenePlugin#get
|
||||
* @since 3.0.0
|
||||
|
|
Loading…
Reference in a new issue