Fix getScene return type. Fix #6821

This commit is contained in:
Richard Davey 2024-09-02 14:26:00 +01:00
parent abccbc9631
commit 04f54b888a
2 changed files with 4 additions and 3 deletions

View file

@ -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.
*

View file

@ -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