From 219b396acf4488ba5c65ae31d159aab76f4297cd Mon Sep 17 00:00:00 2001 From: liutao <821580467@qq.com> Date: Wed, 4 Feb 2026 15:25:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90AI=E7=BC=96=E7=A0=81=E3=80=91=E3=80=90?= =?UTF-8?q?MCP=E3=80=91=E6=8F=90=E4=BE=9BMCP=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectNLD/.cursor/rules/nld-ai-rules.mdc | 18 + .../UIInfoBuilder/ExtractUIPrefabTool.cs | 74 + .../UIInfoBuilder/ExtractUIPrefabTool.cs.meta | 11 + .../Editor/UIInfoBuilder/README.md.meta | 7 + ProjectNLD/ExtractedPrefabs/TaskNodeNew.json | 3222 +++++++++++++++++ ProjectNLD/Packages/manifest.json | 1 + 6 files changed, 3333 insertions(+) create mode 100644 ProjectNLD/Assets/Editor/UIInfoBuilder/ExtractUIPrefabTool.cs create mode 100644 ProjectNLD/Assets/Editor/UIInfoBuilder/ExtractUIPrefabTool.cs.meta create mode 100644 ProjectNLD/Assets/Editor/UIInfoBuilder/README.md.meta create mode 100644 ProjectNLD/ExtractedPrefabs/TaskNodeNew.json diff --git a/ProjectNLD/.cursor/rules/nld-ai-rules.mdc b/ProjectNLD/.cursor/rules/nld-ai-rules.mdc index c6e1f7a42e1..6e813bbedaf 100644 --- a/ProjectNLD/.cursor/rules/nld-ai-rules.mdc +++ b/ProjectNLD/.cursor/rules/nld-ai-rules.mdc @@ -25,6 +25,24 @@ alwaysApply: true - Use DebugUtil class for logging and debugging. - Utilize Unity's profiler and frame debugger to identify and resolve performance issues. +## UI Prefab 信息获取 + +当需要了解 UI Prefab 的结构和组件信息时,按以下步骤操作: + +1. 通过 Unity MCP 调用 `extract_ui_prefab` 工具: + ``` + execute_custom_tool: { tool_name: "extract_ui_prefab", parameters: { prefab_path: "Assets/xxx/xxx.prefab" } } + ``` +2. 读取返回的 `json_path` 对应的 JSON 文件 +3. 参考 `ExtractedPrefabs/README.md` 理解 JSON 格式含义 +4. 基于 JSON 内容分析 UI 层级结构、组件类型和属性 + +**重要**:每次都需要先调用工具生成 JSON(避免读取旧数据) + +**适用场景**: +- 需要理解某个 UI 界面的布局结构 +- 需要了解 UI 组件的具体属性配置 +- 需要分析或修改 UI Prefab 相关代码 - You can @ files here - You can use markdown but dont have to diff --git a/ProjectNLD/Assets/Editor/UIInfoBuilder/ExtractUIPrefabTool.cs b/ProjectNLD/Assets/Editor/UIInfoBuilder/ExtractUIPrefabTool.cs new file mode 100644 index 00000000000..823047f3ba8 --- /dev/null +++ b/ProjectNLD/Assets/Editor/UIInfoBuilder/ExtractUIPrefabTool.cs @@ -0,0 +1,74 @@ +using System.Threading.Tasks; +using MCPForUnity.Editor.Tools; +using Newtonsoft.Json.Linq; +using UnityEditor; +using UnityEngine; + +namespace UIInfoBuilder +{ + /// + /// MCP 工具:提取 UI Prefab 信息并生成 JSON 文件 + /// AI 可通过 execute_custom_tool 调用此工具 + /// + [McpForUnityTool("extract_ui_prefab", Description = "提取 UI Prefab 信息并生成 JSON 文件,用于 AI 理解 UI 结构")] + public static class ExtractUIPrefabTool + { + public static Task HandleCommand(JObject @params) + { + string prefabPath = @params?["prefab_path"]?.ToString(); + + // 验证参数 + if (string.IsNullOrEmpty(prefabPath)) + { + return Task.FromResult(new + { + success = false, + error = "prefab_path 参数不能为空", + hint = "请提供 Prefab 资源路径,如 Assets/Art_Out/UI/Prefab/xxx.prefab" + }); + } + + // 加载 Prefab + var prefab = AssetDatabase.LoadAssetAtPath(prefabPath); + if (prefab == null) + { + return Task.FromResult(new + { + success = false, + error = $"无法加载 Prefab: {prefabPath}", + hint = "请确认路径正确且文件存在" + }); + } + + try + { + // 生成 JSON 文件路径 + string jsonPath = Application.dataPath + "/../ExtractedPrefabs/" + prefab.name + ".json"; + + // 提取 Prefab 信息 + UIInfoExtractor.ExtractPrefab(prefab, jsonPath); + + // 返回相对路径,便于 AI 读取 + string relativePath = "ExtractedPrefabs/" + prefab.name + ".json"; + + return Task.FromResult(new + { + success = true, + message = $"成功提取 Prefab 信息: {prefab.name}", + json_path = relativePath, + absolute_path = jsonPath, + hint = $"请使用 Read 工具读取 {relativePath} 文件内容,参考 ExtractedPrefabs/README.md 理解 JSON 格式" + }); + } + catch (System.Exception ex) + { + return Task.FromResult(new + { + success = false, + error = $"提取失败: {ex.Message}", + hint = "请检查 Prefab 是否有效" + }); + } + } + } +} diff --git a/ProjectNLD/Assets/Editor/UIInfoBuilder/ExtractUIPrefabTool.cs.meta b/ProjectNLD/Assets/Editor/UIInfoBuilder/ExtractUIPrefabTool.cs.meta new file mode 100644 index 00000000000..77214168062 --- /dev/null +++ b/ProjectNLD/Assets/Editor/UIInfoBuilder/ExtractUIPrefabTool.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 623d14440b5717542b6b9fb146a88590 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectNLD/Assets/Editor/UIInfoBuilder/README.md.meta b/ProjectNLD/Assets/Editor/UIInfoBuilder/README.md.meta new file mode 100644 index 00000000000..5f043b575ed --- /dev/null +++ b/ProjectNLD/Assets/Editor/UIInfoBuilder/README.md.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: a23ebeadfc166044487f20f80ab5f341 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/ProjectNLD/ExtractedPrefabs/TaskNodeNew.json b/ProjectNLD/ExtractedPrefabs/TaskNodeNew.json new file mode 100644 index 00000000000..2e04299a77d --- /dev/null +++ b/ProjectNLD/ExtractedPrefabs/TaskNodeNew.json @@ -0,0 +1,3222 @@ +{ + "name": "TaskNodeNew", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:344.287,-58.57654", + "AnchoredPosition3D:344.287,-58.57654,0", + "SizeDelta:1166.41,570", + "LocalPosition:344.287,-58.57654,0", + "LocalRotation:0,0,0", + "LocalScale:1.00008,1.00008,1.00008" + ] + } + ], + "children": [ + { + "name": "Image_BGLeft", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0.5", + "AnchorMax:0,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:81.99008,-205", + "AnchoredPosition3D:81.99008,-205,0", + "SizeDelta:150,149", + "LocalPosition:-501.2149,-205,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_di_guang_01", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "Image_Font11", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0", + "AnchorMax:0.5,0", + "Pivot:0.5,0.5", + "AnchoredPosition:-501.215,22.49999", + "AnchoredPosition3D:-501.215,22.49999,0", + "SizeDelta:145,34", + "LocalPosition:-501.215,-262.5,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_font_11", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "ScrollView_TaskTag", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0.5", + "AnchorMax:0,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:84.77802,3", + "AnchoredPosition3D:84.77802,3,0", + "SizeDelta:169.56,570.49", + "LocalPosition:-498.427,3,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "PhxhScrollView", + "enable": true, + "properties": [ + "Content:Content", + "Horizontal:false", + "Vertical:true", + "Movement Type:Clamped", + "Elasticity:0.1", + "Inertia:true", + "Deceleration Rate:0.135", + "Scroll Sensitivity:1", + "Viewport:Viewport", + "Horizontal Scrollbar:", + "Vertical Scrollbar:", + "Horizontal Scrollbar Visibility:AutoHideAndExpandViewport", + "Vertical Scrollbar Visibility:AutoHideAndExpandViewport", + "Horizontal Scrollbar Spacing:-3", + "Vertical Scrollbar Spacing:-3", + "Default Item Size:163.98,82", + "Item Template:TaskTagItem", + "Layout Type:Vertical", + "Pool Size:3" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + } + ], + "children": [ + { + "name": "Viewport", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0,1", + "AnchoredPosition:0,-6.103516E-05", + "AnchoredPosition3D:0,-6.103516E-05,0", + "SizeDelta:0,0", + "LocalPosition:-84.78,285.2449,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "Mask", + "enable": true, + "properties": [ + "Show Mask Graphic:false" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UIMask", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Sliced", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + { + "name": "Content", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,1", + "AnchorMax:1,1", + "Pivot:0,1", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:3.0518E-05,576.9045", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "VerticalLayoutGroup", + "enable": true, + "properties": [ + "Child Alignment:UpperLeft", + "Spacing:3.72", + "Child Force Expand Width:false", + "Child Force Expand Height:false", + "Child Control Width:false", + "Child Control Height:false", + "Child Scale Width:false", + "Child Scale Height:false", + "Reverse Arrangement:false" + ] + } + ], + "children": [ + { + "name": "TaskTagItem", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,1", + "AnchorMax:0,1", + "Pivot:0.5,0.5", + "AnchoredPosition:83.98994,-53.5", + "AnchoredPosition3D:83.98994,-53.5,0", + "SizeDelta:163.98,77.68", + "LocalPosition:83.98994,-53.5,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + } + ], + "children": [ + { + "name": "Button_Choose", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0.8,0", + "AnchoredPosition3D:0.8,0,0", + "SizeDelta:150,77", + "LocalPosition:0.8,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_btn_08", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + }, + { + "componentName": "Button", + "enable": true, + "properties": [ + "Interactable:true", + "Transition:ColorTint", + "TargetGraphic:Button_Choose", + "NormalColor:#FFFFFFFF", + "HighlightedColor:#F5F5F5FF", + "PressedColor:#C8C8C8FF", + "SelectedColor:#F5F5F5FF", + "DisabledColor:#C8C8C880", + "ColorMultiplier:1", + "FadeDuration:0.1", + "NavigationMode:Automatic" + ] + } + ], + "children": [ + { + "name": "Text_Choose", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:0,2.6", + "AnchoredPosition3D:0,2.6,0", + "SizeDelta:0,-32.69", + "LocalPosition:0,2.599998,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:每日任务", + "FontAsset:SourceHanSansCN-Medium SDF", + "MaterialPreset:SourceHanSansCN-Medium SDF Material", + "FontStyle:Bold", + "FontSize:32", + "AutoSize:false", + "Color:#DFD81BFF", + "EnableVertexGradient:false", + "CharacterSpacing:-4.4", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:true", + "Maskable:true" + ] + } + ], + "children": [ + ] + }, + { + "name": "Image_LogoBlack", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-138.4,11.5", + "AnchoredPosition3D:-138.4,11.5,0", + "SizeDelta:50,42", + "LocalPosition:-138.4,11.5,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BlackBtnlogo", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "Button_NotChoose", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0.8,0", + "AnchoredPosition3D:0.8,0,0", + "SizeDelta:150,77", + "LocalPosition:0.8,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_btn_09", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + }, + { + "componentName": "Button", + "enable": true, + "properties": [ + "Interactable:true", + "Transition:ColorTint", + "TargetGraphic:Button_NotChoose", + "NormalColor:#FFFFFFFF", + "HighlightedColor:#F5F5F5FF", + "PressedColor:#C8C8C8FF", + "SelectedColor:#F5F5F5FF", + "DisabledColor:#C8C8C880", + "ColorMultiplier:1", + "FadeDuration:0.1", + "NavigationMode:Automatic" + ] + } + ], + "children": [ + { + "name": "Text_Choose", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:0,2.6", + "AnchoredPosition3D:0,2.6,0", + "SizeDelta:0,-32.69", + "LocalPosition:0,2.599998,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:每周任务", + "FontAsset:SourceHanSansCN-Medium SDF", + "MaterialPreset:SourceHanSansCN-Medium SDF Material", + "FontStyle:Normal", + "FontSize:32", + "AutoSize:false", + "Color:#757474FF", + "EnableVertexGradient:false", + "CharacterSpacing:1.54", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:true", + "Maskable:true" + ] + } + ], + "children": [ + ] + }, + { + "name": "Image_LogoBlack", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-138.4,11.5", + "AnchoredPosition3D:-138.4,11.5,0", + "SizeDelta:50,42", + "LocalPosition:-138.4,11.5,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BlackBtnlogo", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "UI_RedPoint", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:68.9,19", + "AnchoredPosition3D:68.9,19,0", + "SizeDelta:45,45", + "LocalPosition:68.9,19,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "RedPointUIController", + "enable": true, + "properties": [ + "Node ID:20", + "Show Tag:-1", + "Show Type:Icon" + ] + } + ], + "children": [ + { + "name": "icon", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:0,0", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_Common_RedPot", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "count", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:0,0", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:", + "FontAsset:LiberationSans SDF", + "MaterialPreset:LiberationSans SDF Material", + "FontStyle:Normal", + "FontSize:26", + "AutoSize:false", + "Color:#FFFFFFFF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:false", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + } + ] + } + ] + } + ] + }, + { + "name": "POOL", + "active": false, + "components": [ + { + "componentName": "Transform", + "enable": true, + "properties": [ + "Local Rotation:0,0,0", + "Local Position:0,0,0", + "Local Scale:1,1,1", + "Constrain Proportions Scale:false" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "ScrollView_TaskList", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:84.42509,1.6216", + "AnchoredPosition3D:84.42509,1.6216,0", + "SizeDelta:996.15,573.25", + "LocalPosition:84.42509,1.6216,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "PhxhScrollView", + "enable": true, + "properties": [ + "Content:Content", + "Horizontal:false", + "Vertical:true", + "Movement Type:Elastic", + "Elasticity:0.1", + "Inertia:true", + "Deceleration Rate:0.135", + "Scroll Sensitivity:1", + "Viewport:Viewport", + "Horizontal Scrollbar:", + "Vertical Scrollbar:", + "Horizontal Scrollbar Visibility:AutoHideAndExpandViewport", + "Vertical Scrollbar Visibility:AutoHideAndExpandViewport", + "Horizontal Scrollbar Spacing:-3", + "Vertical Scrollbar Spacing:-3", + "Default Item Size:1002,158", + "Item Template:TaskItem", + "Layout Type:Vertical", + "Pool Size:4" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": false, + "properties": [ + "Sprite:Background", + "Color:#FFFFFF64", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Sliced", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + { + "name": "Viewport", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0,1", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:0,-3.57", + "LocalPosition:-498.075,286.625,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "Mask", + "enable": true, + "properties": [ + "Show Mask Graphic:false" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UIMask", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Sliced", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + { + "name": "Content", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,1", + "AnchorMax:1,1", + "Pivot:0,1", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:498,632", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "VerticalLayoutGroup", + "enable": false, + "properties": [ + "Child Alignment:UpperLeft", + "Spacing:-6", + "Child Force Expand Width:false", + "Child Force Expand Height:false", + "Child Control Width:false", + "Child Control Height:false", + "Child Scale Width:false", + "Child Scale Height:false", + "Reverse Arrangement:false" + ] + } + ], + "children": [ + { + "name": "TaskItem", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,1", + "AnchorMax:0,1", + "Pivot:0.5,0.5", + "AnchoredPosition:493,-73", + "AnchoredPosition3D:493,-73,0", + "SizeDelta:1002,158", + "LocalPosition:493,-73,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "UITaskNode", + "enable": true, + "properties": [ + "Img Bg:Image_BgClaim", + "Img Cant Get Bg:Image_BgCantGet", + "Img Claimed Bg:Image_BgClaimed", + "Txt Task Desc:Text_TaskTitle", + "Txt Task Process:Text_IsFinish", + "Img Task Process:ImageMissionBar", + "Btn Claim:Button_ClaimYellow", + "Btn Go To:Button_GO", + "Btn Cant Get:Button_ClaimGary", + "Btn Claimed:Button_ClaimAlready" + ] + } + ], + "children": [ + { + "name": "Image_BgClaim", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:1002,158", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_di_12", + "Color:#FFFFFFFF", + "Material:gama_mat", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "Image_BgCantGet", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:1002,158", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_di_13", + "Color:#FFFFFFFF", + "Material:gama_mat", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "Image", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-285.3,24.6", + "AnchoredPosition3D:-285.3,24.6,0", + "SizeDelta:371,62", + "LocalPosition:-285.3,24.6,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_font_07", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "Image_RewardItemBg", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:158.2,0", + "AnchoredPosition3D:158.2,0,0", + "SizeDelta:120,120", + "LocalPosition:158.2,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_di_kuang_01", + "Color:#FFFFFFFF", + "Material:gama_mat", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "RewardItem", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:156.7,0", + "AnchoredPosition3D:156.7,0,0", + "SizeDelta:100,100", + "LocalPosition:156.7,0,0", + "LocalRotation:0,0,0", + "LocalScale:0.6,0.6,0.6" + ] + } + ], + "children": [ + { + "name": "GenericItem", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:188,188", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + } + ], + "children": [ + { + "name": "BaseItem", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:188,188", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:0.63,0.63,0.63" + ] + }, + { + "componentName": "Button", + "enable": true, + "properties": [ + "Interactable:true", + "Transition:ColorTint", + "TargetGraphic:ItemIcon", + "NormalColor:#FFFFFFFF", + "HighlightedColor:#F5F5F5FF", + "PressedColor:#C8C8C8FF", + "SelectedColor:#F5F5F5FF", + "DisabledColor:#C8C8C880", + "ColorMultiplier:1", + "FadeDuration:0.1", + "NavigationMode:Automatic" + ] + } + ], + "children": [ + { + "name": "ChooseRect", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:300,300", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_ChooseRect", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + { + "name": "UI_GFX_ItemSelectionFeedback", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:100,100", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + } + ], + "children": [ + { + "name": "UIParticle", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:0,0", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "UIParticle", + "enable": true, + "properties": [ + "Material:", + "Color:#FFFFFFFF", + "Raycast Target:true", + "Raycast Padding:0,0,0,0", + "Maskable:true", + "Scale 3D:10,10,10", + "Mesh Sharing:None", + "Group Id:0", + "Group Max Id:0", + "Position Mode:Relative", + "Auto Scaling:false", + "Auto Scaling Mode:Transform", + "Use Custom View:false", + "Custom View Size:10", + "Time Scale Multiplier:1" + ] + } + ], + "children": [ + { + "name": "ring_once", + "active": true, + "components": [ + { + "componentName": "Transform", + "enable": true, + "properties": [ + "Local Rotation:270,0,0", + "Local Position:0,0,0", + "Local Scale:1,1,1", + "Constrain Proportions Scale:false" + ] + }, + { + "componentName": "ParticleSystem", + "enable": true, + "properties": [ + "Length In Sec:1", + "Simulation Speed:1", + "Stop Action:0", + "Culling Mode:0", + "Ring Buffer Mode:0", + "Ring Buffer Loop Range:0,1", + "Emitter Velocity Mode:1", + "Looping:false", + "Prewarm:false", + "Play On Awake:true", + "Use Unscaled Time:false", + "Auto Random Seed:true", + "Move With Transform:0", + "Move With Custom Transform:", + "Scaling Mode:1", + "Random Seed:0" + ] + }, + { + "componentName": "ParticleSystemRenderer", + "enable": true, + "properties": [ + "Cast Shadows:Off", + "Receive Shadows:false", + "Dynamic Occludee:true", + "Static Shadow Caster:false", + "Motion Vectors:Per Object Motion", + "Light Probe Usage:0", + "Reflection Probe Usage:0", + "Ray Tracing Mode:0", + "Ray Trace Procedural:false", + "Rendering Layer Mask:1", + "Renderer Priority:0", + "Probe Anchor:", + "Light Probe Volume Override:", + "Lightmap Parameters:", + "Render Mode:0", + "Mesh Distribution:0", + "Sort Mode:0", + "Min Particle Size:0", + "Max Particle Size:10", + "Camera Velocity Scale:0", + "Velocity Scale:0", + "Length Scale:2", + "Sorting Fudge:0", + "Normal Direction:1", + "Shadow Bias:0", + "Render Alignment:0", + "Pivot:0,0,0", + "Flip:0,0,0", + "Enable GPU Instancing:true", + "Apply Active Color Space:true", + "Allow Roll:true", + "Freeform Stretching:false", + "Rotate With Stretch Direction:true", + "Use Custom Vertex Streams:false", + "Use Custom Trail Vertex Streams:false", + "Mesh:", + "Mesh 1:", + "Mesh 2:", + "Mesh 3:", + "Mesh Weighting:1", + "Mesh Weighting 1:1", + "Mesh Weighting 2:1", + "Mesh Weighting 3:1", + "Mask Interaction:0" + ] + } + ], + "children": [ + ] + }, + { + "name": "ring_loop", + "active": true, + "components": [ + { + "componentName": "Transform", + "enable": true, + "properties": [ + "Local Rotation:270,0,0", + "Local Position:0,0,0", + "Local Scale:1,1,1", + "Constrain Proportions Scale:false" + ] + }, + { + "componentName": "ParticleSystem", + "enable": true, + "properties": [ + "Length In Sec:1", + "Simulation Speed:1", + "Stop Action:0", + "Culling Mode:0", + "Ring Buffer Mode:2", + "Ring Buffer Loop Range:0,1", + "Emitter Velocity Mode:1", + "Looping:false", + "Prewarm:false", + "Play On Awake:true", + "Use Unscaled Time:false", + "Auto Random Seed:true", + "Move With Transform:0", + "Move With Custom Transform:", + "Scaling Mode:1", + "Random Seed:0" + ] + }, + { + "componentName": "ParticleSystemRenderer", + "enable": true, + "properties": [ + "Cast Shadows:Off", + "Receive Shadows:false", + "Dynamic Occludee:true", + "Static Shadow Caster:false", + "Motion Vectors:Per Object Motion", + "Light Probe Usage:0", + "Reflection Probe Usage:0", + "Ray Tracing Mode:0", + "Ray Trace Procedural:false", + "Rendering Layer Mask:1", + "Renderer Priority:0", + "Probe Anchor:", + "Light Probe Volume Override:", + "Lightmap Parameters:", + "Render Mode:0", + "Mesh Distribution:0", + "Sort Mode:0", + "Min Particle Size:0", + "Max Particle Size:10", + "Camera Velocity Scale:0", + "Velocity Scale:0", + "Length Scale:2", + "Sorting Fudge:0", + "Normal Direction:1", + "Shadow Bias:0", + "Render Alignment:0", + "Pivot:0,0,0", + "Flip:0,0,0", + "Enable GPU Instancing:true", + "Apply Active Color Space:true", + "Allow Roll:true", + "Freeform Stretching:false", + "Rotate With Stretch Direction:true", + "Use Custom Vertex Streams:false", + "Use Custom Trail Vertex Streams:false", + "Mesh:", + "Mesh 1:", + "Mesh 2:", + "Mesh 3:", + "Mesh Weighting:1", + "Mesh Weighting 1:1", + "Mesh Weighting 2:1", + "Mesh Weighting 3:1", + "Mask Interaction:0" + ] + } + ], + "children": [ + ] + }, + { + "name": "ring_big", + "active": true, + "components": [ + { + "componentName": "Transform", + "enable": true, + "properties": [ + "Local Rotation:270,0,0", + "Local Position:0,0,0", + "Local Scale:1,1,1", + "Constrain Proportions Scale:false" + ] + }, + { + "componentName": "ParticleSystem", + "enable": true, + "properties": [ + "Length In Sec:1", + "Simulation Speed:1", + "Stop Action:0", + "Culling Mode:0", + "Ring Buffer Mode:0", + "Ring Buffer Loop Range:0,1", + "Emitter Velocity Mode:1", + "Looping:false", + "Prewarm:false", + "Play On Awake:true", + "Use Unscaled Time:false", + "Auto Random Seed:true", + "Move With Transform:0", + "Move With Custom Transform:", + "Scaling Mode:1", + "Random Seed:0" + ] + }, + { + "componentName": "ParticleSystemRenderer", + "enable": true, + "properties": [ + "Cast Shadows:Off", + "Receive Shadows:false", + "Dynamic Occludee:true", + "Static Shadow Caster:false", + "Motion Vectors:Per Object Motion", + "Light Probe Usage:0", + "Reflection Probe Usage:0", + "Ray Tracing Mode:0", + "Ray Trace Procedural:false", + "Rendering Layer Mask:1", + "Renderer Priority:0", + "Probe Anchor:", + "Light Probe Volume Override:", + "Lightmap Parameters:", + "Render Mode:0", + "Mesh Distribution:0", + "Sort Mode:0", + "Min Particle Size:0", + "Max Particle Size:10", + "Camera Velocity Scale:0", + "Velocity Scale:0", + "Length Scale:2", + "Sorting Fudge:0", + "Normal Direction:1", + "Shadow Bias:0", + "Render Alignment:0", + "Pivot:0,0,0", + "Flip:0,0,0", + "Enable GPU Instancing:true", + "Apply Active Color Space:true", + "Allow Roll:true", + "Freeform Stretching:false", + "Rotate With Stretch Direction:true", + "Use Custom Vertex Streams:false", + "Use Custom Trail Vertex Streams:false", + "Mesh:", + "Mesh 1:", + "Mesh 2:", + "Mesh 3:", + "Mesh Weighting:1", + "Mesh Weighting 1:1", + "Mesh Weighting 2:1", + "Mesh Weighting 3:1", + "Mask Interaction:0" + ] + } + ], + "children": [ + ] + }, + { + "name": "dian", + "active": true, + "components": [ + { + "componentName": "Transform", + "enable": true, + "properties": [ + "Local Rotation:0,0,0", + "Local Position:0,0,0", + "Local Scale:1,1,1", + "Constrain Proportions Scale:false" + ] + }, + { + "componentName": "ParticleSystem", + "enable": true, + "properties": [ + "Length In Sec:0.2", + "Simulation Speed:1", + "Stop Action:0", + "Culling Mode:0", + "Ring Buffer Mode:0", + "Ring Buffer Loop Range:0,1", + "Emitter Velocity Mode:1", + "Looping:false", + "Prewarm:false", + "Play On Awake:true", + "Use Unscaled Time:false", + "Auto Random Seed:true", + "Move With Transform:0", + "Move With Custom Transform:", + "Scaling Mode:1", + "Random Seed:0" + ] + }, + { + "componentName": "ParticleSystemRenderer", + "enable": true, + "properties": [ + "Cast Shadows:Off", + "Receive Shadows:false", + "Dynamic Occludee:true", + "Static Shadow Caster:false", + "Motion Vectors:Per Object Motion", + "Light Probe Usage:0", + "Reflection Probe Usage:0", + "Ray Tracing Mode:0", + "Ray Trace Procedural:false", + "Rendering Layer Mask:1", + "Renderer Priority:0", + "Probe Anchor:", + "Light Probe Volume Override:", + "Lightmap Parameters:", + "Render Mode:0", + "Mesh Distribution:0", + "Sort Mode:0", + "Min Particle Size:0", + "Max Particle Size:10", + "Camera Velocity Scale:0", + "Velocity Scale:0", + "Length Scale:2", + "Sorting Fudge:0", + "Normal Direction:1", + "Shadow Bias:0", + "Render Alignment:0", + "Pivot:0,0,0", + "Flip:0,0,0", + "Enable GPU Instancing:true", + "Apply Active Color Space:true", + "Allow Roll:true", + "Freeform Stretching:false", + "Rotate With Stretch Direction:true", + "Use Custom Vertex Streams:false", + "Use Custom Trail Vertex Streams:false", + "Mesh:", + "Mesh 1:", + "Mesh 2:", + "Mesh 3:", + "Mesh Weighting:1", + "Mesh Weighting 1:1", + "Mesh Weighting 2:1", + "Mesh Weighting 3:1", + "Mask Interaction:0" + ] + } + ], + "children": [ + ] + } + ] + } + ] + } + ] + }, + { + "name": "Rarity", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:100,100", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + } + ], + "children": [ + { + "name": "ItemQuality_blue", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:300,300", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_Rarity_Blue", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:true", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "ItemQuality_red", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:300,300", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_Rarity_Red", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:true", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "ItemQuality_yellow", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:300,300", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_Rarity_Yellow", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:true", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "ItemQuality_grey", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:300,300", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_Rarity_Grey", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:true", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "ItemQuality_second", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:300,300", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_Rarity_Secondhand", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:true", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "ItemIcon", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:300,300", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:Icon_Topped_014", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:true", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "ImageCount", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:63,-100", + "AnchoredPosition3D:63,-100,0", + "SizeDelta:133,42", + "LocalPosition:63,-100,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_common_ItemNumbg23", + "Color:#FFFFFFFF", + "Material:gama_mat", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:true", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + { + "name": "TextCount", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:133,42", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:2222222", + "FontAsset:Mohave-Bold SDF", + "MaterialPreset:Mohave-Bold SDF Material", + "FontStyle:Normal", + "FontSize:38", + "AutoSize:true", + "Color:#FFFFFFFF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:false", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "ImageMulti", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:63,-57", + "AnchoredPosition3D:63,-57,0", + "SizeDelta:82,48", + "LocalPosition:63,-57,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_MultiNumBG", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:true", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + { + "name": "TextMultiCount", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:5.1498E-05,0", + "AnchoredPosition3D:5.1498E-05,0,0", + "SizeDelta:82,42", + "LocalPosition:5.1498E-05,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:X99", + "FontAsset:Mohave-Bold SDF", + "MaterialPreset:Mohave-Bold SDF Material", + "FontStyle:Normal", + "FontSize:36", + "AutoSize:false", + "Color:#FFFFFFFF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:false", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "SRDebugger", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-4,-86", + "AnchoredPosition3D:-4,-86,0", + "SizeDelta:100,100", + "LocalPosition:-4,-86,0", + "LocalRotation:0,0,0", + "LocalScale:1.5,1.5,1.5" + ] + } + ], + "children": [ + { + "name": "Image", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,10.9385", + "AnchoredPosition3D:0,10.9385,0", + "SizeDelta:143.9531,21.903", + "LocalPosition:0,10.9385,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "Text_ID", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,10.9385", + "AnchoredPosition3D:0,10.9385,0", + "SizeDelta:143.9531,10.9515", + "LocalPosition:0,10.9385,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:3000010501", + "FontAsset:LiberationSans SDF", + "MaterialPreset:LiberationSans SDF Material", + "FontStyle:Normal", + "FontSize:24", + "AutoSize:false", + "Color:#000000FF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:false", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + } + ] + }, + { + "name": "SRDebugger", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,-106.1", + "AnchoredPosition3D:0,-106.1,0", + "SizeDelta:100,100", + "LocalPosition:0,-106.1,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + } + ], + "children": [ + { + "name": "Image", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,10.9385", + "AnchoredPosition3D:0,10.9385,0", + "SizeDelta:143.9531,21.903", + "LocalPosition:0,10.9385,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:false", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + }, + { + "name": "Text_ID", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,10.9385", + "AnchoredPosition3D:0,10.9385,0", + "SizeDelta:143.9531,10.9515", + "LocalPosition:0,10.9385,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:3000010501", + "FontAsset:LiberationSans SDF", + "MaterialPreset:LiberationSans SDF Material", + "FontStyle:Normal", + "FontSize:24", + "AutoSize:false", + "Color:#000000FF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:false", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + } + ] + } + ] + }, + { + "name": "Text_TaskTitle", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0.5", + "AnchorMax:0,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:290.5847,40.9", + "AnchoredPosition3D:290.5847,40.9,0", + "SizeDelta:528.9792,50", + "LocalPosition:-210.4153,40.9,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:登陆一次", + "FontAsset:SourceHanSansCN-Medium SDF", + "MaterialPreset:SourceHanSansCN-Medium SDF Material", + "FontStyle:Normal", + "FontSize:30", + "AutoSize:false", + "Color:#242424FF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Left", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:true", + "Maskable:true" + ] + } + ], + "children": [ + ] + }, + { + "name": "Text_IsFinish", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0.5", + "AnchorMax:0,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:206.54,0", + "AnchoredPosition3D:206.54,0,0", + "SizeDelta:360.91,50", + "LocalPosition:-294.46,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:1/1", + "FontAsset:SourceHanSansCN-Medium SDF", + "MaterialPreset:SourceHanSansCN-Medium SDF Material", + "FontStyle:Normal", + "FontSize:30", + "AutoSize:false", + "Color:#242424FF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Left", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:true", + "Maskable:true" + ] + } + ], + "children": [ + ] + }, + { + "name": "ImageMissionBar", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-294,-37.1", + "AnchoredPosition3D:-294,-37.1,0", + "SizeDelta:360,16", + "LocalPosition:-294,-37.1,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_jindutiao01", + "Color:#FFFFFFFF", + "Material:gama_mat", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + }, + { + "componentName": "Slider", + "enable": true, + "properties": [ + "Transition:ColorTint", + "Interactable:false", + "Target Graphic:ImageMissionBar", + "Fill Rect:ImageYellowBar", + "Handle Rect:", + "Direction:LeftToRight", + "Min Value:0", + "Max Value:1", + "Whole Numbers:false", + "Value:1" + ] + } + ], + "children": [ + { + "name": "ImageYellowBar", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:0,-6.67572E-06", + "AnchoredPosition3D:0,-6.67572E-06,0", + "SizeDelta:0,0", + "LocalPosition:0,-6.67572E-06,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_jindutiao02", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Sliced", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "BtnNode", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:1,0.5", + "AnchorMax:1,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-50,0", + "AnchoredPosition3D:-50,0,0", + "SizeDelta:100,100", + "LocalPosition:451,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + } + ], + "children": [ + { + "name": "Button_ClaimYellow", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-97,-11", + "AnchoredPosition3D:-97,-11,0", + "SizeDelta:226,110", + "LocalPosition:-97,-11,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_btn_07", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + }, + { + "componentName": "Button", + "enable": true, + "properties": [ + "Interactable:true", + "Transition:ColorTint", + "TargetGraphic:Button_ClaimYellow", + "NormalColor:#FFFFFFFF", + "HighlightedColor:#F5F5F5FF", + "PressedColor:#C8C8C8FF", + "SelectedColor:#F5F5F5FF", + "DisabledColor:#C8C8C880", + "ColorMultiplier:1", + "FadeDuration:0.1", + "NavigationMode:Automatic" + ] + }, + { + "componentName": "ClickAudio", + "enable": true, + "properties": [ + "Is Play Audio:true", + "Audio Key:SE_ui_common_claim" + ] + } + ], + "children": [ + { + "name": "Text (TMP)", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:0.5299988,10.93", + "AnchoredPosition3D:0.5299988,10.93,0", + "SizeDelta:-20.27,-21.87", + "LocalPosition:0.5299988,10.93,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:领取", + "FontAsset:SourceHanSansCN-Medium SDF", + "MaterialPreset:SourceHanSansCN-Medium SDF Material", + "FontStyle:Normal", + "FontSize:36", + "AutoSize:false", + "Color:#000000FF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:true", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "Button_GO", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-97.1,-10.2", + "AnchoredPosition3D:-97.1,-10.2,0", + "SizeDelta:226,110", + "LocalPosition:-97.1,-10.2,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_btn_06", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + }, + { + "componentName": "Button", + "enable": true, + "properties": [ + "Interactable:true", + "Transition:ColorTint", + "TargetGraphic:Button_GO", + "NormalColor:#FFFFFFFF", + "HighlightedColor:#F5F5F5FF", + "PressedColor:#C8C8C8FF", + "SelectedColor:#F5F5F5FF", + "DisabledColor:#C8C8C880", + "ColorMultiplier:1", + "FadeDuration:0.1", + "NavigationMode:Automatic" + ] + } + ], + "children": [ + { + "name": "Text (TMP)", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:0.5299988,10.93", + "AnchoredPosition3D:0.5299988,10.93,0", + "SizeDelta:-20.27,-21.87", + "LocalPosition:0.5299988,10.93,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:前往", + "FontAsset:SourceHanSansCN-Medium SDF", + "MaterialPreset:SourceHanSansCN-Medium SDF Material", + "FontStyle:Normal", + "FontSize:36", + "AutoSize:false", + "Color:#000000FF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:true", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "Button_ClaimGary", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-96.1,0", + "AnchoredPosition3D:-96.1,0,0", + "SizeDelta:206,88", + "LocalPosition:-96.1,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_btn_05", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + }, + { + "componentName": "Button", + "enable": true, + "properties": [ + "Interactable:true", + "Transition:ColorTint", + "TargetGraphic:Button_ClaimGary", + "NormalColor:#FFFFFFFF", + "HighlightedColor:#F5F5F5FF", + "PressedColor:#C8C8C8FF", + "SelectedColor:#F5F5F5FF", + "DisabledColor:#C8C8C880", + "ColorMultiplier:1", + "FadeDuration:0.1", + "NavigationMode:Automatic" + ] + } + ], + "children": [ + { + "name": "Text (TMP)", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:-7.629395E-05,-0.002490997", + "AnchoredPosition3D:-7.629395E-05,-0.002490997,0", + "SizeDelta:-1.5259E-05,-0.01", + "LocalPosition:-7.629395E-05,-0.002490997,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:领取", + "FontAsset:SourceHanSansCN-Medium SDF", + "MaterialPreset:SourceHanSansCN-Medium SDF Material", + "FontStyle:Normal", + "FontSize:36", + "AutoSize:false", + "Color:#4C4C4CFF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:true", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + }, + { + "name": "Button_ClaimAlready", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:-97,0", + "AnchoredPosition3D:-97,0,0", + "SizeDelta:206,88", + "LocalPosition:-97,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_btn_05", + "Color:#FFFFFFFF", + "Material:Default UI Material", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + }, + { + "componentName": "Button", + "enable": true, + "properties": [ + "Interactable:true", + "Transition:ColorTint", + "TargetGraphic:Button_ClaimAlready", + "NormalColor:#FFFFFFFF", + "HighlightedColor:#F5F5F5FF", + "PressedColor:#C8C8C8FF", + "SelectedColor:#F5F5F5FF", + "DisabledColor:#C8C8C880", + "ColorMultiplier:1", + "FadeDuration:0.1", + "NavigationMode:Automatic" + ] + } + ], + "children": [ + { + "name": "Text (TMP)", + "active": true, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0,0", + "AnchorMax:1,1", + "Pivot:0.5,0.5", + "AnchoredPosition:-7.629395E-05,-0.002490997", + "AnchoredPosition3D:-7.629395E-05,-0.002490997,0", + "SizeDelta:-1.5259E-05,-0.01", + "LocalPosition:-7.629395E-05,-0.002490997,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "TextMeshProUGUI", + "enable": true, + "properties": [ + "Text:已领取", + "FontAsset:SourceHanSansCN-Medium SDF", + "MaterialPreset:SourceHanSansCN-Medium SDF Material", + "FontStyle:Normal", + "FontSize:36", + "AutoSize:false", + "Color:#000000FF", + "EnableVertexGradient:false", + "CharacterSpacing:0", + "WordSpacing:0", + "LineSpacing:0", + "ParagraphSpacing:0", + "Alignment:Center", + "EnableWordWrapping:true", + "OverflowMode:Overflow", + "RaycastTarget:true", + "Maskable:true" + ] + } + ], + "children": [ + ] + } + ] + } + ] + }, + { + "name": "Image_BgClaimed", + "active": false, + "components": [ + { + "componentName": "RectTransform", + "enable": true, + "properties": [ + "AnchorMin:0.5,0.5", + "AnchorMax:0.5,0.5", + "Pivot:0.5,0.5", + "AnchoredPosition:0,0", + "AnchoredPosition3D:0,0,0", + "SizeDelta:984,140", + "LocalPosition:0,0,0", + "LocalRotation:0,0,0", + "LocalScale:1,1,1" + ] + }, + { + "componentName": "CanvasRenderer", + "enable": true, + "properties": [ + "Cull Transparent Mesh:true" + ] + }, + { + "componentName": "Image", + "enable": true, + "properties": [ + "Sprite:UI_BattlePass_di_zhezhao_14", + "Color:#FFFFFFFF", + "Material:gama_mat", + "RaycastTarget:true", + "RaycastPadding:0,0,0,0", + "Maskable:true", + "ImageType:Simple", + "PreserveAspect:false", + "UseSpriteMesh:false", + "PixelsPerUnitMultiplier:1" + ] + } + ], + "children": [ + ] + } + ] + } + ] + } + ] + }, + { + "name": "POOL", + "active": false, + "components": [ + { + "componentName": "Transform", + "enable": true, + "properties": [ + "Local Rotation:0,0,0", + "Local Position:0,0,0", + "Local Scale:1,1,1", + "Constrain Proportions Scale:false" + ] + } + ], + "children": [ + ] + } + ] + } + ] +} diff --git a/ProjectNLD/Packages/manifest.json b/ProjectNLD/Packages/manifest.json index 5ac7f13e9a2..e1e4f9c0c95 100644 --- a/ProjectNLD/Packages/manifest.json +++ b/ProjectNLD/Packages/manifest.json @@ -5,6 +5,7 @@ "com.code-philosophy.obfuz4hybridclr": "http://1.14.122.170:3000/PHXH/obfuz4hybridclr.git", "com.coffee.ui-particle": "https://github.com/mob-sakai/ParticleEffectForUGUI.git", "com.coffee.unmask": "https://github.com/mob-sakai/UnmaskForUGUI.git", + "com.coplaydev.unity-mcp": "https://github.com/CoplayDev/unity-mcp.git?path=/MCPForUnity", "com.cysharp.unitask": "http://1.14.122.170:3000/PHXH/UniTask.git?path=src/UniTask/Assets/Plugins/UniTask", "com.google.external-dependency-manager": "1.2.183", "com.leancloud.realtime": "http://1.14.122.170:3000/PHXH/csharp-sdk-upm.git#realtime-1.0.2",