简单PVP

This commit is contained in:
PC-20230316NUNE\Administrator
2023-11-20 18:25:50 +08:00
parent 98b7a52b45
commit 74aabac454
36 changed files with 2972 additions and 261 deletions

View File

@@ -23,6 +23,9 @@ export enum GUI{
IntoBattleView = "IntoBattleView", //上阵页面
/**游戏模式页面 */
PVPModeMatchView = "PVPModeMatchView", //PVP模式匹配页面
Home = "Home", //主页面
Main = "Main", //主页面2
}
@@ -97,6 +100,17 @@ const UINoviceConfig:{ [key: string]: JNLayerInfo; } = {
}
//游戏模式页面
const UIGModeConfig:{ [key: string]: JNLayerInfo; } = {
[GUI.PVPModeMatchView]:{
layer:GLayer.Popup,
uri: "prefab/ui/模式/PVP/PVP匹配页面",
anims:BackOutScale
},
}
export const UIConfig:{ [key: string]: JNLayerInfo; } = {
[GUI.Home]:{
layer:GLayer.View,
@@ -121,5 +135,6 @@ export const UIConfig:{ [key: string]: JNLayerInfo; } = {
...UISystemConfig, //系统页面
...UINoviceConfig, //新手引导页面
...UIMainConfig, //主页面
...UIGModeConfig, //游戏模式页面
}