This commit is contained in:
PC-20230316NUNE\Administrator
2024-01-20 19:01:45 +08:00
parent 8af1ac9484
commit c6710e7dfa
78 changed files with 10027 additions and 4250 deletions

View File

@@ -26,6 +26,7 @@ export enum GUI{
MainOnHookView = "MainOnHookView", //挂机弹窗
MapSelectView = "MapSelectView", //地图选择页面
PacksackView = "PacksackView", //背包页面
ShopView = "ShopView", //商店页面
/** 副本 */
DungeonView = "DungeonView", //副本页面
@@ -54,6 +55,12 @@ const BackOutScale:JNLayerAnimInfo = {
front:JNLayerAnim.BackOutOpen,
back:JNLayerAnim.BackInClose
}
const BackOutMove:JNLayerAnimInfo = {
front:JNLayerAnim.Enlarge,
back:JNLayerAnim.Smaller,
frontInfo:{key:"position",start:v3(1280,0,0),end:v3(0,0,0)},
backInfo:{key:"position",start:v3(0,0,0),end:v3(1280,0,0)}
}
//系统UI
@@ -92,7 +99,7 @@ const UISystemConfig:{ [key: string]: JNLayerInfo; } = {
},
},
[GUI.RewardClaimView]:{
layer:GLayer.View,
layer:GLayer.Popup,
uri: "prefab/ui/常用预制体/奖励/领取奖励页面",
anims:BackOutScale
},
@@ -103,12 +110,7 @@ const UIMainConfig:{ [key: string]: JNLayerInfo; } = {
[GUI.MainChat]:{
layer:GLayer.Popup,
uri: "prefab/ui/主页/聊天/MainChatView",
anims:{
front:JNLayerAnim.Enlarge,
back:JNLayerAnim.Smaller,
frontInfo:{key:"position",start:v3(0,-1280,0),end:v3(0,0,0)},
backInfo:{key:"position",start:v3(0,0,0),end:v3(0,-1280,0)}
}
anims:BackOutMove
},
[GUI.IntoBattleView]:{
layer:GLayer.Popup,
@@ -130,6 +132,11 @@ const UIMainConfig:{ [key: string]: JNLayerInfo; } = {
uri: "prefab/ui/资源/资源背包页面",
anims:BackOutScale,
},
[GUI.ShopView]:{
layer:GLayer.Popup,
uri: "prefab/ui/商店/商店页面",
anims:BackOutMove,
},
}
//宠物页面
@@ -198,7 +205,12 @@ const UIGModeConfig:{ [key: string]: JNLayerInfo; } = {
[GUI.OnHookRinkingView]:{
layer:GLayer.Popup,
uri: "prefab/ui/模式/OnHook/OnHook排行榜",
anims:BackOutScale
anims:{
front:JNLayerAnim.Enlarge,
back:JNLayerAnim.Smaller,
frontInfo:{key:"position",start:v3(1280,0,0),end:v3(0,0,0)},
backInfo:{key:"position",start:v3(0,0,0),end:v3(1280,0,0)}
}
},
}