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:
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"prefabName": "UI_BootLoading",
|
||||
"prefabPath": "Assets/AOT/UI/UI_BootLoading.prefab",
|
||||
"description": "本地启动页,不依赖 CDN。复用营地插画与糖果风九宫格;静态中文子集字体随底包,避免默认字体缺字。BuildBootLoading 从 JSON 生成并绑定 Boot 场景。",
|
||||
"canvas": { "canvasScaler": { "referenceResolution": [1080, 1920], "matchWidthOrHeight": 0 } },
|
||||
"assets": { "sprites": {
|
||||
"camp": "Assets/Bundles/UI/Bg/home_camp.png",
|
||||
"panel": "Assets/Bundles/UI/Texture/Common/ui_panel_content.png",
|
||||
"track": "Assets/Bundles/UI/Texture/Common/progress_bg.png",
|
||||
"fill": "Assets/Bundles/UI/Texture/Common/progress_fill.png"
|
||||
} },
|
||||
"nodes": [
|
||||
{ "name": "UI_BootLoading", "parent": null, "rect": { "anchorMin": [0,0], "anchorMax": [1,1], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "Canvas", "sortingOrder": 1000 },
|
||||
{ "type": "CanvasScaler", "referenceResolution": [1080,1920], "matchWidthOrHeight": 0 },
|
||||
{ "type": "CanvasGroup", "alpha": 1, "blocksRaycasts": true },
|
||||
{ "type": "GraphicRaycaster" },
|
||||
{ "type": "MonoBehaviour", "typeName": "AOT.UI.BootPatchView, AOT.Runtime" }
|
||||
] },
|
||||
{ "name": "Artwork", "parent": "UI_BootLoading", "rect": { "anchorMin": [0,0], "anchorMax": [1,1], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "Image", "sprite": "camp", "color": "#E6E6E6", "raycastTarget": true },
|
||||
{ "type": "MonoBehaviour", "typeName": "AOT.UI.BootArtworkCover, AOT.Runtime" }
|
||||
] },
|
||||
{ "name": "TitleShadow", "parent": "UI_BootLoading", "rect": { "anchorMin": [0.08,0.81], "anchorMax": [0.92,0.88], "offsetMin": [0,-7], "offsetMax": [0,-7] }, "components": [
|
||||
{ "type": "TextMeshProUGUI", "text": "萌友防线", "fontAsset": "Assets/AOT/UI/BootChinese.asset", "fontSize": 108, "alignment": "MiddleCenter", "color": "#76522C" }
|
||||
] },
|
||||
{ "name": "Txt_Title", "parent": "UI_BootLoading", "rect": { "anchorMin": [0.08,0.81], "anchorMax": [0.92,0.88], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "TextMeshProUGUI", "text": "萌友防线", "fontAsset": "Assets/AOT/UI/BootChinese.asset", "fontSize": 108, "alignment": "MiddleCenter", "color": "#FFF2CA" }
|
||||
] },
|
||||
{ "name": "Txt_Tagline", "parent": "UI_BootLoading", "rect": { "anchorMin": [0.12,0.775], "anchorMax": [0.88,0.81], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "TextMeshProUGUI", "text": "Buddy Defense", "fontAsset": "Assets/AOT/UI/BootChinese.asset", "fontSize": 40, "alignment": "MiddleCenter", "color": "#FFF8E8" },
|
||||
{ "type": "Shadow", "effectColor": "#334D48", "effectDistance": [1,-2] }
|
||||
] },
|
||||
{ "name": "Txt_Intro", "parent": "UI_BootLoading", "rect": { "anchorMin": [0.12,0.742], "anchorMax": [0.88,0.772], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "TextMeshProUGUI", "text": "集结伙伴 · 开启冒险", "fontAsset": "Assets/AOT/UI/BootChinese.asset", "fontSize": 28, "alignment": "MiddleCenter", "color": "#FFF8E8" },
|
||||
{ "type": "Shadow", "effectColor": "#334D48", "effectDistance": [1,-2] }
|
||||
] },
|
||||
{ "name": "LoadingCard", "parent": "UI_BootLoading", "rect": { "anchorMin": [0.09,0.105], "anchorMax": [0.91,0.105], "pivot": [0.5,0.5], "sizeDelta": [0,230], "anchoredPosition": [0,0] }, "components": [
|
||||
{ "type": "Image", "sprite": "panel", "imageType": "Sliced", "color": "#FFFFFFF5" }
|
||||
] },
|
||||
{ "name": "Txt_Status", "parent": "LoadingCard", "rect": { "anchorMin": [0.055,0.61], "anchorMax": [0.82,0.88], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "TextMeshProUGUI", "text": "正在准备冒险…", "fontAsset": "Assets/AOT/UI/BootChinese.asset", "fontSize": 34, "alignment": "Left", "color": "#5A4632" }
|
||||
] },
|
||||
{ "name": "Txt_Percentage", "parent": "LoadingCard", "rect": { "anchorMin": [0.8,0.61], "anchorMax": [0.945,0.88], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "TextMeshProUGUI", "text": "0%", "fontAsset": "Assets/AOT/UI/BootChinese.asset", "fontSize": 34, "alignment": "Right", "color": "#6C8B29" }
|
||||
] },
|
||||
{ "name": "ProgressTrack", "parent": "LoadingCard", "rect": { "anchorMin": [0.055,0.36], "anchorMax": [0.945,0.36], "sizeDelta": [0,42], "anchoredPosition": [0,0] }, "components": [
|
||||
{ "type": "Image", "sprite": "track", "imageType": "Sliced", "raycastTarget": false }
|
||||
] },
|
||||
{ "name": "FillClip", "parent": "ProgressTrack", "rect": { "anchorMin": [0,0], "anchorMax": [0,1], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "RectMask2D" }
|
||||
] },
|
||||
{ "name": "ProgressFill", "parent": "FillClip", "rect": { "anchorMin": [0,0], "anchorMax": [1,1], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "Image", "sprite": "fill", "imageType": "Sliced", "raycastTarget": false }
|
||||
] },
|
||||
{ "name": "Txt_Hint", "parent": "LoadingCard", "rect": { "anchorMin": [0.055,0.06], "anchorMax": [0.945,0.25], "offsetMin": [0,0], "offsetMax": [0,0] }, "components": [
|
||||
{ "type": "TextMeshProUGUI", "text": "首次进入需要下载资源,请稍候", "fontAsset": "Assets/AOT/UI/BootChinese.asset", "fontSize": 26, "alignment": "MiddleCenter", "color": "#8A7658" }
|
||||
] }
|
||||
],
|
||||
"bindings": ["Txt_Status", "Txt_Percentage", "FillClip"],
|
||||
"events": []
|
||||
}
|
||||
Reference in New Issue
Block a user