Commit 7bb7d354 authored by Tt's avatar Tt

增加旋转屏幕

parent fd605e79
......@@ -57,6 +57,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
pg.event.clear();
courseware.onConfigurationLandscape()
}
onClose() {
this.onDestroy();
}
_cantouch = null;
//题目id
......@@ -111,6 +114,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.state = State.Over;
this.showAni().then(coin => {
pg.event.once('layer_coin_show_coin_end', () => {
this.onClose();
pg.event.emit('layer_ending_show')
}) // 动画回调
pg.event.emit('layer_coin_show_coin', coin) //1 2 3硬币数量
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment