2025-06-04 05:02:57 +08:00

242 lines
8.3 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--[[
--說明:
界面顯示/隱藏的方式列舉
--配置說明:
CreateAndDestroy 建立/銷燬
ActiveAndDeactive 設定啟用/非啟用
MoveOutAndMoveIn 移除到遠處/移動回來
]]
LayerShowHideMode = {
ActiveAndDeactive = 1,
MoveOutAndMoveIn = 2
}
--[[
--說明:
層級的配置
此配置由策劃維護
--配置格式:
xxLayer 每個layer的配置
name 層級的名字
depth 層級深度數值越大顯示越前面並且每個layer下可最多同時出現15個UIPanel
reEntnerNotDestory 再該層級已打開的情況下,不會銷燬原來的層級
hideOtherLayer 該層級顯示時,需隱藏的其他層級
closeOtherLayer 該層級顯示時,需關閉的其他層級
coliderColor 層級擋板的顏色(不配置該項的話,便認作為此層級無底部擋板)
showHideMode 顯示隱藏模式
]]
UIViewType = {
SceneNameLayer = {
name = "角色場景UI" ,
depth = 0
},
BlindLayer = {
name = "場景緻盲遮罩" ,
depth = 1
},
MainLayer = {
name = "主界面" ,
depth = 2,
reEntnerNotDestory = true,
showHideMode = LayerShowHideMode.ActiveAndDeactive,
},
ReviveLayer = {
name = "復活層級" ,
depth = 3,
closeOtherLayer = {CheckLayer={},NormalLayer={},PopUpLayer={},TipLayer={},FocusLayer={},DialogLayer={},ChatroomLayer={},ChitchatLayer={},ChatLayer={},ShieldingLayer={}},
hideOtherLayer = {GuideLayer={},Popup10Layer={},SystemOpenLayer={},GOGuideLayer={}},
},
ChatroomLayer = {
name = "好友" ,
depth = 4,
closeOtherLayer = {FocusLayer={},DialogLayer={},TipLayer={},TeamLayer={},ChatLayer={}},
},
BoothLayer = {
name = "擺攤" ,
depth = 5,
hideOtherLayer = {MainLayer={}},
closeOtherLayer = {FocusLayer={},DialogLayer={},TipLayer={},TeamLayer={},ChatLayer={}},
},
InterstitialLayer = {
name = "全屏界面" ,
depth = 6,
coliderColor = Color(0,0,0,1/255),
hideOtherLayer = {ChatroomLayer={},DialogLayer={},BoothLayer={},MainLayer={}},
closeOtherLayer = {ChatLayer={},FocusLayer={},TeamLayer={},NormalLayer={}},
},
ChitchatLayer = {
name = "聊天欄(左)" ,
depth = 7,
closeOtherLayer = {FocusLayer={},DialogLayer={},TipLayer={},TeamLayer={},ChatLayer={},NormalLayer={}},
reEntnerNotDestory = true,
},
TeamLayer = {
name = "組隊界面(不遮蔽主界面)" ,
depth = 8,
coliderColor = Color(0,0,0,1/255),
hideOtherLayer = {ChatroomLayer={},NormalLayer={},ChitchatLayer={},BoothLayer={}},
closeOtherLayer = {ChatLayer={},TipLayer={}},
},
UIScreenEffectLayer = {
name = "全屏UI特效層",
depth = 9,
},
FocusLayer = {
name = "聚焦層級" ,
depth = 10,
hideOtherLayer = {MainLayer={},CheckLayer={},NormalLayer={},TipLayer={},ChatroomLayer={},BoothLayer={},ChitchatLayer={},TeamLayer={}},
closeOtherLayer = {ChatLayer={}},
},
DialogLayer = {
name = "對話層級" ,
depth = 11,
hideOtherLayer = {CheckLayer={},MainLayer={},NormalLayer={},ChatroomLayer={},BoothLayer={},ChitchatLayer={},TeamLayer={},MovieLayer={}},
closeOtherLayer = {FocusLayer={},PopUpLayer={},TipLayer={},ChatLayer={}},
},
ChatLayer = {
name = "表情聊天層級" ,
depth = 12,
},
NormalLayer = {
name = "二級界面層級" ,
depth = 13,
coliderColor = Color(0,0,0,1/255),
hideOtherLayer = {MainLayer={},ChatroomLayer={},ChitchatLayer={}},
closeOtherLayer = {ChatLayer={},FocusLayer={}},
},
PopUpLayer = {
name = "三級彈出界面層級" ,
depth = 14,
coliderColor = Color(0,0,0,200/255),
},
CheckLayer = {
name = "檢視詳情層級" ,
depth = 15,
hideOtherLayer = {MainLayer={},ChatroomLayer={},ChitchatLayer={},PopUpLayer={},NormalLayer={},TeamLayer={},},
closeOtherLayer = {ChatLayer={}},
},
DragLayer = {
name = "拖動層級" ,
depth = 16,
},
TipLayer = {
name = "提示界面層級" ,
depth = 17,
},
Lv4PopUpLayer = {
name = "四級彈出層級" ,
depth = 18,
coliderColor = Color(0,0,0,200/255),
},
IConfirmLayer = {
name = "邀請確認層級" ,
depth = 19,
hideOtherLayer = {},
closeOtherLayer = {FocusLayer={}},
},
ConfirmLayer = {
name = "確認框層級" ,
depth = 20,
coliderColor = Color(0,0,0,1/255),
},
GuideLayer = {
name = "引導層級" ,
depth = 21,
},
SystemOpenLayer = {
name = "系統開啟層級" ,
depth = 22,
hideOtherLayer = {FocusLayer={},CheckLayer={},NormalLayer={},PopUpLayer={},TipLayer={},GuideLayer={},ConfirmLayer={},Popup10Layer={},ChatroomLayer={},ChitchatLayer={},TeamLayer={}},
closeOtherLayer = {ChatLayer={}},
coliderColor = Color(0,0,0,1/255),
reEntnerNotDestory = true,
showHideMode = LayerShowHideMode.ActiveAndDeactive,
},
MovieLayer = {
name = "觀看電影層級" ,
depth = 23,
hideOtherLayer = {FocusLayer={},MainLayer={},CheckLayer={},NormalLayer={},PopUpLayer={},TipLayer={},BoardLayer={},GuideLayer={},DragLayer={},ConfirmLayer={},Popup10Layer={},ChatroomLayer={},ChitchatLayer={}},
closeOtherLayer = {ChatLayer={}},
coliderColor = Color(0,0,0,1/255),
},
GOGuideLayer = {
name = "引導開始確認層" ,
depth = 24,
closeOtherLayer = {FocusLayer={},CheckLayer={},NormalLayer={},PopUpLayer={},TipLayer={},GuideLayer={},ConfirmLayer={},Popup10Layer={},ChatLayer={},ChatroomLayer={},ChitchatLayer={},TeamLayer={},Show3D2DLayer={},ProcessLayer={}},
coliderColor = Color(0,0,0,1/255),
reEntnerNotDestory = true,
},
Show3D2DLayer = {
name = "3D/2D展示層級" ,
depth = 25,
hideOtherLayer = {FocusLayer={},TipLayer={},Popup10Layer={},DialogLayer={},SystemOpenLayer={},MainLayer={},NormalLayer={},PopUpLayer={},CheckLayer={},TeamLayer={},ChitchatLayer={},ChatroomLayer={}},
coliderColor = Color(0,0,0,200/255),
},
ShareLayer = {
name = "分享層級" ,
depth = 26,
hideOtherLayer = {FocusLayer={},TipLayer={},Popup10Layer={},DialogLayer={},SystemOpenLayer={},MainLayer={},NormalLayer={},PopUpLayer={},CheckLayer={},TeamLayer={},ChitchatLayer={},ChatroomLayer={},Show3D2DLayer={}},
},
FloatLayer = {
name = "浮動框層級" ,
depth = 27,
},
Popup10Layer = {
name = "彈框10層級" ,
depth = 28,
coliderColor = Color(0,0,0,1/255),
reEntnerNotDestory = true,
closeOtherLayer = {TipLayer={},TeamLayer={},ChatLayer={}},
showHideMode = LayerShowHideMode.ActiveAndDeactive,
},
LoadingLayer = {
name = "載入界面層級" ,
depth = 29,
hideOtherLayer = {MainLayer={},ChatLayer={}},
closeOtherLayer = {FocusLayer={}},
coliderColor = Color(0,0,0,1/255),
},
TouchLayer = {
name = "UI觸控反饋層級" ,
depth = 30,
},
ToolsLayer = {
name = "工具層級" ,
depth = 31,
},
WarnLayer = {
name = "警告框層級" ,
depth = 32,
reEntnerNotDestory = true,
},
ShieldingLayer = {
name = "屏保層級" ,
depth = 33,
coliderColor = Color(0,0,0,1/255),
},
VideoLayer = {
name = "視訊(珍藏品)播放層級" ,
depth = 34,
hideOtherLayer = {IConfirmLayer={},BoardLayer={},ConfirmLayer={},Popup10Layer={},ChatroomLayer={},ChitchatLayer={},ReviveLayer={}},
coliderColor = Color(0,0,0,1/255),
},
ProcessLayer = {
name = "彈幕層級" ,
depth = 35,
reEntnerNotDestory = true,
},
BoardLayer = {
name = "公告層級" ,
depth = 36,
reEntnerNotDestory = true,
},
}
----------界面返回屬性的配置----------------------
UIRollBackID = {
353,352,3,720,495,1070,547,1620
}