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
@@ -147,6 +197,78 @@ var ScenePlugin = new Class({
147
197
returnthis;
148
198
},
149
199
200
+
/**
201
+
* BETA ( + fadeTo )
202
+
* Fire start and complete events in target Scene + this Scene.
203
+
* const leaving
204
+
*
205
+
* @method Phaser.Scenes.ScenePlugin#transition
206
+
* @since 3.4.1
207
+
*
208
+
* @param {string} key - The Scene key to transition to.
209
+
* @param {integer} [duration=1000] - The duration, in ms, for the transition to last.
210
+
* @param {boolean} [moveAbove=false] - More the target Scene to be above this one before the transition starts. `false` means no change to the Scene display order.
211
+
* @param {function} [callback] - This callback is invoked every frame for the duration of the transition.
212
+
* @param {any} [context] - The context in which the callback is invoked.
213
+
*
214
+
* @return {Phaser.Scenes.ScenePlugin} This ScenePlugin object.
0 commit comments