Land Explorer in HomeCamp with boot loading, journal UI, and CDN publish tooling.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"schemaVersion": 1,
|
||||
"prefabName": "UI_MainHUD",
|
||||
"prefabPath": "Assets/Bundles/UI/Prefab/UI_MainHUD.prefab",
|
||||
"description": "HUD 主界面 / candy。参考 Clash of Critters 营地式入口布局,采用项目主题;1080×1920,JSON→Prefab。中央为去掉人物的营地插画,营地向导在广场走动,点击后才显示随机台词。功能入口通过 MainHUD.* 事件接入。保留网络状态和重连绑定,无主题切换按钮。 ?????????????????????????????????? Prefab ?????",
|
||||
"description": "HUD ??? / Candy?3D ???????????????????? MainHUD ?????1080?1920?JSON?Prefab?",
|
||||
"canvas": {
|
||||
"canvasScaler": {
|
||||
"referenceResolution": [
|
||||
@@ -110,6 +110,36 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CampWorld",
|
||||
"parent": "UI_MainHUD",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"anchorMax": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"offsetMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"offsetMax": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "RawImage",
|
||||
"color": "#FFFFFF",
|
||||
"raycastTarget": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ExplorerStage",
|
||||
"parent": "UI_MainHUD",
|
||||
@@ -258,6 +288,605 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Group_CampBuildings",
|
||||
"parent": "UI_MainHUD",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"anchorMax": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"offsetMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"offsetMax": [
|
||||
0,
|
||||
0
|
||||
]
|
||||
},
|
||||
"components": []
|
||||
},
|
||||
{
|
||||
"name": "Btn_Building_MainHouse",
|
||||
"parent": "Group_CampBuildings",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0
|
||||
],
|
||||
"anchoredPosition": [
|
||||
0,
|
||||
386
|
||||
],
|
||||
"sizeDelta": [
|
||||
230,
|
||||
78
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "ui_panel_content",
|
||||
"color": "#FFFDF8",
|
||||
"raycastTarget": true,
|
||||
"imageType": "Sliced"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"transition": "ColorTint",
|
||||
"onClick": "MainHUD.BuildingMainHouse"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Img_Btn_Building_MainHouse_Icon",
|
||||
"parent": "Btn_Building_MainHouse",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchoredPosition": [
|
||||
38,
|
||||
0
|
||||
],
|
||||
"sizeDelta": [
|
||||
48,
|
||||
48
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "home_ico_home",
|
||||
"color": "#FFFFFF",
|
||||
"raycastTarget": false,
|
||||
"imageType": "Simple"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Txt_Btn_Building_MainHouse_Title",
|
||||
"parent": "Btn_Building_MainHouse",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"anchorMax": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"offsetMin": [
|
||||
66,
|
||||
0
|
||||
],
|
||||
"offsetMax": [
|
||||
-12,
|
||||
0
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "TextMeshProUGUI",
|
||||
"text": "营地大厅",
|
||||
"fontSize": 28,
|
||||
"color": "#5D4037",
|
||||
"alignment": "MidlineLeft",
|
||||
"fontStyle": "Bold",
|
||||
"raycastTarget": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Btn_Building_Shop",
|
||||
"parent": "Group_CampBuildings",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0
|
||||
],
|
||||
"anchoredPosition": [
|
||||
-360,
|
||||
148
|
||||
],
|
||||
"sizeDelta": [
|
||||
220,
|
||||
78
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "ui_panel_content",
|
||||
"color": "#FFFDF8",
|
||||
"raycastTarget": true,
|
||||
"imageType": "Sliced"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"transition": "ColorTint",
|
||||
"onClick": "MainHUD.BuildingShop"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Img_Btn_Building_Shop_Icon",
|
||||
"parent": "Btn_Building_Shop",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchoredPosition": [
|
||||
38,
|
||||
0
|
||||
],
|
||||
"sizeDelta": [
|
||||
48,
|
||||
48
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "home_ico_bag",
|
||||
"color": "#FFFFFF",
|
||||
"raycastTarget": false,
|
||||
"imageType": "Simple"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Txt_Btn_Building_Shop_Title",
|
||||
"parent": "Btn_Building_Shop",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"anchorMax": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"offsetMin": [
|
||||
66,
|
||||
0
|
||||
],
|
||||
"offsetMax": [
|
||||
-12,
|
||||
0
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "TextMeshProUGUI",
|
||||
"text": "小镇商店",
|
||||
"fontSize": 28,
|
||||
"color": "#5D4037",
|
||||
"alignment": "MidlineLeft",
|
||||
"fontStyle": "Bold",
|
||||
"raycastTarget": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Btn_Building_Pets",
|
||||
"parent": "Group_CampBuildings",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0
|
||||
],
|
||||
"anchoredPosition": [
|
||||
360,
|
||||
170
|
||||
],
|
||||
"sizeDelta": [
|
||||
220,
|
||||
78
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "ui_panel_content",
|
||||
"color": "#FFFDF8",
|
||||
"raycastTarget": true,
|
||||
"imageType": "Sliced"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"transition": "ColorTint",
|
||||
"onClick": "MainHUD.BuildingPets"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Img_Btn_Building_Pets_Icon",
|
||||
"parent": "Btn_Building_Pets",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchoredPosition": [
|
||||
38,
|
||||
0
|
||||
],
|
||||
"sizeDelta": [
|
||||
48,
|
||||
48
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "home_ico_pets",
|
||||
"color": "#FFFFFF",
|
||||
"raycastTarget": false,
|
||||
"imageType": "Simple"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Txt_Btn_Building_Pets_Title",
|
||||
"parent": "Btn_Building_Pets",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"anchorMax": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"offsetMin": [
|
||||
66,
|
||||
0
|
||||
],
|
||||
"offsetMax": [
|
||||
-12,
|
||||
0
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "TextMeshProUGUI",
|
||||
"text": "伙伴之家",
|
||||
"fontSize": 28,
|
||||
"color": "#5D4037",
|
||||
"alignment": "MidlineLeft",
|
||||
"fontStyle": "Bold",
|
||||
"raycastTarget": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Btn_Building_Fountain",
|
||||
"parent": "Group_CampBuildings",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0
|
||||
],
|
||||
"anchoredPosition": [
|
||||
0,
|
||||
-23
|
||||
],
|
||||
"sizeDelta": [
|
||||
220,
|
||||
78
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "ui_panel_content",
|
||||
"color": "#FFFDF8",
|
||||
"raycastTarget": true,
|
||||
"imageType": "Sliced"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"transition": "ColorTint",
|
||||
"onClick": "MainHUD.BuildingFountain"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Img_Btn_Building_Fountain_Icon",
|
||||
"parent": "Btn_Building_Fountain",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchoredPosition": [
|
||||
38,
|
||||
0
|
||||
],
|
||||
"sizeDelta": [
|
||||
48,
|
||||
48
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "home_ico_chest",
|
||||
"color": "#FFFFFF",
|
||||
"raycastTarget": false,
|
||||
"imageType": "Simple"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Txt_Btn_Building_Fountain_Title",
|
||||
"parent": "Btn_Building_Fountain",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"anchorMax": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"offsetMin": [
|
||||
66,
|
||||
0
|
||||
],
|
||||
"offsetMax": [
|
||||
-12,
|
||||
0
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "TextMeshProUGUI",
|
||||
"text": "祈愿喷泉",
|
||||
"fontSize": 28,
|
||||
"color": "#5D4037",
|
||||
"alignment": "MidlineLeft",
|
||||
"fontStyle": "Bold",
|
||||
"raycastTarget": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Btn_Building_Stall",
|
||||
"parent": "Group_CampBuildings",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0
|
||||
],
|
||||
"anchoredPosition": [
|
||||
260,
|
||||
40
|
||||
],
|
||||
"sizeDelta": [
|
||||
220,
|
||||
78
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "ui_panel_content",
|
||||
"color": "#FFFDF8",
|
||||
"raycastTarget": true,
|
||||
"imageType": "Sliced"
|
||||
},
|
||||
{
|
||||
"type": "Button",
|
||||
"transition": "ColorTint",
|
||||
"onClick": "MainHUD.BuildingStall"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Img_Btn_Building_Stall_Icon",
|
||||
"parent": "Btn_Building_Stall",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"anchorMax": [
|
||||
0,
|
||||
0.5
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"anchoredPosition": [
|
||||
38,
|
||||
0
|
||||
],
|
||||
"sizeDelta": [
|
||||
48,
|
||||
48
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "Image",
|
||||
"sprite": "home_ico_gift",
|
||||
"color": "#FFFFFF",
|
||||
"raycastTarget": false,
|
||||
"imageType": "Simple"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Txt_Btn_Building_Stall_Title",
|
||||
"parent": "Btn_Building_Stall",
|
||||
"active": true,
|
||||
"rect": {
|
||||
"anchorMin": [
|
||||
0,
|
||||
0
|
||||
],
|
||||
"anchorMax": [
|
||||
1,
|
||||
1
|
||||
],
|
||||
"pivot": [
|
||||
0.5,
|
||||
0.5
|
||||
],
|
||||
"offsetMin": [
|
||||
66,
|
||||
0
|
||||
],
|
||||
"offsetMax": [
|
||||
-12,
|
||||
0
|
||||
]
|
||||
},
|
||||
"components": [
|
||||
{
|
||||
"type": "TextMeshProUGUI",
|
||||
"text": "集市货摊",
|
||||
"fontSize": 28,
|
||||
"color": "#5D4037",
|
||||
"alignment": "MidlineLeft",
|
||||
"fontStyle": "Bold",
|
||||
"raycastTarget": false
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Layout_Top",
|
||||
"parent": "UI_MainHUD",
|
||||
@@ -3627,7 +4256,12 @@
|
||||
"ExplorerStage",
|
||||
"Btn_Explorer",
|
||||
"Panel_ExplorerTalk",
|
||||
"Txt_ExplorerTalk"
|
||||
"Txt_ExplorerTalk",
|
||||
"Btn_Building_MainHouse",
|
||||
"Btn_Building_Shop",
|
||||
"Btn_Building_Pets",
|
||||
"Btn_Building_Fountain",
|
||||
"Btn_Building_Stall"
|
||||
],
|
||||
"events": [
|
||||
{
|
||||
@@ -3709,6 +4343,26 @@
|
||||
{
|
||||
"name": "MainHUD.Reconnect",
|
||||
"node": "Btn_Reconnect"
|
||||
},
|
||||
{
|
||||
"name": "MainHUD.BuildingMainHouse",
|
||||
"node": "Btn_Building_MainHouse"
|
||||
},
|
||||
{
|
||||
"name": "MainHUD.BuildingShop",
|
||||
"node": "Btn_Building_Shop"
|
||||
},
|
||||
{
|
||||
"name": "MainHUD.BuildingPets",
|
||||
"node": "Btn_Building_Pets"
|
||||
},
|
||||
{
|
||||
"name": "MainHUD.BuildingFountain",
|
||||
"node": "Btn_Building_Fountain"
|
||||
},
|
||||
{
|
||||
"name": "MainHUD.BuildingStall",
|
||||
"node": "Btn_Building_Stall"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user