mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-12-08 14:00:02 +00:00
提交
This commit is contained in:
@@ -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)}
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user