This commit is contained in:
DESKTOP-5RP3AKU\Jisol
2023-12-25 02:06:56 +08:00
parent 516d520c5e
commit 5366e3413c
18 changed files with 1054 additions and 441 deletions

View File

@@ -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();
}
}