提交地图

This commit is contained in:
PC-20230316NUNE\Administrator
2023-12-23 19:00:53 +08:00
parent d66f08455e
commit 516d520c5e
38 changed files with 3020 additions and 287 deletions

View File

@@ -6,6 +6,7 @@ import GBattleModeManager, { BattleMode } from '../../battle/GBattleModeManager'
import { JNGLayerBase } from '../../components/JNComponent';
import { app } from '../../App';
import { GAction } from '../../consts/GAction';
import { GAPI } from '../../consts/GAPI';
const { ccclass, property } = _decorator;
@ccclass('MainView')
@@ -60,6 +61,12 @@ export class MainView extends JNGLayerBase {
app.layer.Open(GUI.MapSelectView);
}
//点击下一关
async onClickNextLevel(){
await GAPI.GOnHookNextLevel();
app.layer.Open(GUI.Tips,{text:"下一关"});
}
}