Skip to content

Commit ace0e20

Browse files
committed
- passing the data from the transition to the System.wake method - added missing property to the SceneTransitionConfig definition
1 parent 7fbe57c commit ace0e20

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/scene/ScenePlugin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ var ScenePlugin = new Class({
319319

320320
if (target.sys.isSleeping())
321321
{
322-
target.sys.wake();
322+
target.sys.wake(GetFastValue(config, 'data'));
323323
}
324324
else
325325
{

src/scene/typedefs/SceneTransitionConfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* @property {string} target - The Scene key to transition to.
66
* @property {integer} [duration=1000] - The duration, in ms, for the transition to last.
77
* @property {boolean} [sleep=false] - Will the Scene responsible for the transition be sent to sleep on completion (`true`), or stopped? (`false`)
8+
* @property {boolean} [remove=false] - Will the Scene responsible for the transition be removed from the Scene Manager after the transition completes?
89
* @property {boolean} [allowInput=false] - Will the Scenes Input system be able to process events while it is transitioning in or out?
910
* @property {boolean} [moveAbove] - Move the target Scene to be above this one before the transition starts.
1011
* @property {boolean} [moveBelow] - Move the target Scene to be below this one before the transition starts.

0 commit comments

Comments
 (0)