Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
可以在场景初始化完毕之后,添加onSceneChanged事件监听,当执行switchScene切换场景事件成功之后,就会触发onSceneChanged事件的回调函数,会返回当前的所切换的关卡信息。