mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-09-27 02:36:14 +00:00
提交
This commit is contained in:
@@ -7,6 +7,7 @@ import { JNGLayerBase } from '../../components/JNComponent';
|
||||
import { app } from '../../App';
|
||||
import { GAction } from '../../consts/GAction';
|
||||
import { GAPI } from '../../consts/GAPI';
|
||||
import GOnHookManager from '../../manager/battle/mode/GOnHookManager';
|
||||
const { ccclass, property } = _decorator;
|
||||
|
||||
@ccclass('MainView')
|
||||
@@ -63,8 +64,7 @@ export class MainView extends JNGLayerBase {
|
||||
|
||||
//点击下一关
|
||||
async onClickNextLevel(){
|
||||
await GAPI.GOnHookNextLevel();
|
||||
app.layer.Open(GUI.Tips,{text:"下一关"});
|
||||
GOnHookManager.getIns().onNextLevel();
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user