Example Test Code
export class ResultScene extends BaseScene {
constructor(){
super(CONSTANT.SCENES.RESULT)
}
init(){
}
create() {
this.events.on("ready", () => {
this.markSceneAsActive();
});
this.events.on('shutdown ', (data)=>{
console.log('shutdown ', data.config.key);
this.events.removeAllListeners();
})
}
preload(){
}
}
When i start this scene or launch it from another Scene like this
this.scene.start(CONSTANT.SCENES.RESULTSCENE);
the markSceneAsActive function is not invoked.