mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-11-07 23:06:03 +00:00
宠物上阵
This commit is contained in:
@@ -9,9 +9,10 @@ export enum GLayer{
|
||||
|
||||
export enum GUI{
|
||||
/** 系统UI */
|
||||
Login = "Login", //登录页面
|
||||
Loading = "Loading", //加载页面
|
||||
Tips = "Tips", //提示
|
||||
Login = "Login", //登录页面
|
||||
Loading = "Loading", //加载页面
|
||||
Tips = "Tips", //提示
|
||||
SelectionBox = "SelectionBox", //选择提示页面 (用于玩家确定该操作)
|
||||
|
||||
/** 新手引导 */
|
||||
NoviceNamingView = "NoviceNamingView", //新手引导页面 - 取名
|
||||
@@ -31,12 +32,20 @@ export enum GUI{
|
||||
const UISystemConfig:{ [key: string]: JNLayerInfo; } = {
|
||||
[GUI.Tips]:{
|
||||
layer:GLayer.Tips,
|
||||
uri: "prefab/ui/系统页面/Tips/TipsView",
|
||||
uri: "prefab/ui/系统页面/提示/TipsView",
|
||||
anims:{
|
||||
front:JNLayerAnim.BackOutOpen,
|
||||
back:JNLayerAnim.BackInClose
|
||||
}
|
||||
},
|
||||
[GUI.SelectionBox]:{
|
||||
layer:GLayer.Tips,
|
||||
uri: "prefab/ui/系统页面/选择提示/SelectionBox",
|
||||
anims:{
|
||||
front:JNLayerAnim.BackOutOpen,
|
||||
back:JNLayerAnim.BackInClose
|
||||
},
|
||||
},
|
||||
[GUI.Login]:{
|
||||
layer:GLayer.Popup,
|
||||
uri: "prefab/ui/系统页面/LoginView",
|
||||
@@ -58,7 +67,7 @@ const UISystemConfig:{ [key: string]: JNLayerInfo; } = {
|
||||
//主页UI
|
||||
const UIMainConfig:{ [key: string]: JNLayerInfo; } = {
|
||||
[GUI.MainChat]:{
|
||||
layer:GLayer.Tips,
|
||||
layer:GLayer.View,
|
||||
uri: "prefab/ui/主页/聊天/MainChatView",
|
||||
anims:{
|
||||
front:JNLayerAnim.Enlarge,
|
||||
|
||||
Reference in New Issue
Block a user