From 7bc0efc8eeb663f17e822e3b737b700596f0941c Mon Sep 17 00:00:00 2001 From: liuliang <597380732@qq.com> Date: Mon, 6 Jan 2025 17:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=B0=B1=E5=8D=A1=E7=89=87=E9=A2=84?= =?UTF-8?q?=E5=88=B6=E4=BD=93=E7=9A=84=E6=B7=BB=E5=8A=A0=E4=BB=A5=E5=8F=8A?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Resources/Prefabs/sxcarditem.prefab | 13 ++ meng_yao/Assets/Scenes/scene_Main.unity | 156 +++++++++--------- .../script/scene_Main/Scene_main_jiekou.cs | 8 +- .../Assets/script/scene_Main/ui/sxcarditem.cs | 23 +++ .../script/scene_Main/ui/sxcarditem.cs.meta | 11 ++ 5 files changed, 132 insertions(+), 79 deletions(-) create mode 100644 meng_yao/Assets/script/scene_Main/ui/sxcarditem.cs create mode 100644 meng_yao/Assets/script/scene_Main/ui/sxcarditem.cs.meta diff --git a/meng_yao/Assets/Resources/Prefabs/sxcarditem.prefab b/meng_yao/Assets/Resources/Prefabs/sxcarditem.prefab index a061c8f9..a583aa07 100644 --- a/meng_yao/Assets/Resources/Prefabs/sxcarditem.prefab +++ b/meng_yao/Assets/Resources/Prefabs/sxcarditem.prefab @@ -260,6 +260,7 @@ GameObject: - component: {fileID: 7733483716990088035} - component: {fileID: 3335798973629821471} - component: {fileID: 6642128994121697517} + - component: {fileID: 3076726767603001194} m_Layer: 5 m_Name: sxcarditem m_TagString: Untagged @@ -328,6 +329,18 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &3076726767603001194 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 3842424130508822905} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d11d008e8fe37cb45a056fc92114465f, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &6456615796520121862 GameObject: m_ObjectHideFlags: 0 diff --git a/meng_yao/Assets/Scenes/scene_Main.unity b/meng_yao/Assets/Scenes/scene_Main.unity index dbb5c102..99a06ee8 100644 --- a/meng_yao/Assets/Scenes/scene_Main.unity +++ b/meng_yao/Assets/Scenes/scene_Main.unity @@ -40318,7 +40318,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!4 &426100837 Transform: m_ObjectHideFlags: 0 @@ -51739,9 +51739,9 @@ RectTransform: m_Father: {fileID: 1477323886473665161} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 74, y: -496.75} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &555829219 @@ -63640,11 +63640,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 34 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 36 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -63712,11 +63712,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 512.66626 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: -117.43155 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -80961,7 +80961,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0.0001610477, y: 0} - m_SizeDelta: {x: -28.190796, y: 355} + m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0, y: 1} --- !u!114 &849372741 MonoBehaviour: @@ -81567,11 +81567,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 34 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 36 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -81639,11 +81639,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 922.79926 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: -117.43155 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -87795,11 +87795,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 34 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 36 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -87867,11 +87867,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 102.53325 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: -117.43155 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -100314,7 +100314,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &1073200880 RectTransform: m_ObjectHideFlags: 0 @@ -109526,7 +109526,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} m_AnchoredPosition: {x: 0, y: -827} - m_SizeDelta: {x: 1025.3325, y: 1362.083} + m_SizeDelta: {x: 0, y: 1362.083} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1161487649 MonoBehaviour: @@ -126870,35 +126870,35 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 284 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -43 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 428 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -43 objectReference: {fileID: 0} - target: {fileID: 4284489242025471100, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_IsActive @@ -141368,7 +141368,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!224 &1516668808 RectTransform: m_ObjectHideFlags: 0 @@ -142980,19 +142980,19 @@ PrefabInstance: objectReference: {fileID: 426100836} - target: {fileID: 2278414502042200660, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502042200660, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502042200660, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 50 objectReference: {fileID: 0} - target: {fileID: 2278414502042200660, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -109 objectReference: {fileID: 0} - target: {fileID: 2278414502376877128, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_IsActive @@ -143000,51 +143000,51 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2278414502443881119, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502443881119, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502443881119, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 266.89 objectReference: {fileID: 0} - target: {fileID: 2278414502443881119, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -109 objectReference: {fileID: 0} - target: {fileID: 2278414502666870844, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502666870844, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502666870844, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 483.78 objectReference: {fileID: 0} - target: {fileID: 2278414502666870844, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -109 objectReference: {fileID: 0} - target: {fileID: 2278414502728653940, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502728653940, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502728653940, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 700.67 objectReference: {fileID: 0} - target: {fileID: 2278414502728653940, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -109 objectReference: {fileID: 0} - target: {fileID: 2278414502826152887, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_IsActive @@ -143056,19 +143056,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 2278414502908617433, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502908617433, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 2278414502908617433, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 917.56 objectReference: {fileID: 0} - target: {fileID: 2278414502908617433, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -109 objectReference: {fileID: 0} - target: {fileID: 2278414503729634016, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_IsActive @@ -158280,9 +158280,9 @@ RectTransform: m_Father: {fileID: 1477323885727800918} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 74, y: -355.4} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1684710737 @@ -164509,11 +164509,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 34 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 36 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -164581,11 +164581,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 717.7327 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: -117.43155 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -203035,11 +203035,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 34 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 36 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -203107,11 +203107,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 307.59973 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: -117.43155 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -205681,9 +205681,9 @@ RectTransform: m_Father: {fileID: 1477323886473665161} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 74, y: -208.25} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1477323885311605773 @@ -206566,9 +206566,9 @@ RectTransform: m_Father: {fileID: 1477323885727800918} m_RootOrder: 1 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 74, y: -209.7} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1477323885819143781 @@ -207741,9 +207741,9 @@ RectTransform: m_Father: {fileID: 1477323885727800918} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 74, y: -64} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!1 &1477323886531312264 @@ -207779,9 +207779,9 @@ RectTransform: m_Father: {fileID: 1477323886473665161} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 74, y: -352.5} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1477323886569317696 @@ -208776,9 +208776,9 @@ RectTransform: m_Father: {fileID: 1477323886473665161} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 0, y: 0} - m_AnchoredPosition: {x: 0, y: 0} + m_AnchorMin: {x: 0, y: 1} + m_AnchorMax: {x: 0, y: 1} + m_AnchoredPosition: {x: 74, y: -64} m_SizeDelta: {x: 100, y: 100} m_Pivot: {x: 0.5, y: 0.5} --- !u!224 &1682967232464333744 @@ -213254,7 +213254,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchorMin.x @@ -213262,7 +213262,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_SizeDelta.x @@ -213302,11 +213302,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchoredPosition.x - value: 117 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchoredPosition.y - value: -177.5 + value: 0 objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_LocalEulerAnglesHint.x diff --git a/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs b/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs index 8eb2f71c..162e59de 100644 --- a/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs +++ b/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs @@ -55,7 +55,7 @@ public class Scene_main_jiekou :MonoBehaviour Auctioncertificate auctioncertificate=new Auctioncertificate(); Islandownerbidding islandownerbidding=new Islandownerbidding(); petdraw petdraw = new petdraw(); - + treeachievement treeachievement = new treeachievement(); public static Scene_main_jiekou instance; //public PlayerInfoData infoData; @@ -392,4 +392,10 @@ public class Scene_main_jiekou :MonoBehaviour body.trade_password = tradepassword; return await petdraw.PetdrawInfosInfo(body); } + + public async Task Treeachievements() + { + return await treeachievement.Treeachievement(); + } + } diff --git a/meng_yao/Assets/script/scene_Main/ui/sxcarditem.cs b/meng_yao/Assets/script/scene_Main/ui/sxcarditem.cs new file mode 100644 index 00000000..2fe50716 --- /dev/null +++ b/meng_yao/Assets/script/scene_Main/ui/sxcarditem.cs @@ -0,0 +1,23 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.UI; + +public class sxcarditem : MonoBehaviour +{ + public Image sxcarbg; + public Image CardSprite; + public Image sxcardupblue; + public Text name; + + void Start() + { + + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/meng_yao/Assets/script/scene_Main/ui/sxcarditem.cs.meta b/meng_yao/Assets/script/scene_Main/ui/sxcarditem.cs.meta new file mode 100644 index 00000000..f553c770 --- /dev/null +++ b/meng_yao/Assets/script/scene_Main/ui/sxcarditem.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d11d008e8fe37cb45a056fc92114465f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: