From 5b904e8bfa8f80477ce3d8bccf3dd57f8e8723cd Mon Sep 17 00:00:00 2001 From: liuliang <597380732@qq.com> Date: Wed, 8 Jan 2025 22:22:01 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/scene_main/Battle_Selection.prefab | 6 +- meng_yao/Assets/Scenes/scene_Main.unity | 564 +++++++++++++----- .../script/UI_prefabs/Battle_Selection.cs | 7 +- .../Assets/script/scene_Main/Asset_Details.cs | 2 +- 4 files changed, 429 insertions(+), 150 deletions(-) diff --git a/meng_yao/Assets/Prefabs/ui/scene_main/Battle_Selection.prefab b/meng_yao/Assets/Prefabs/ui/scene_main/Battle_Selection.prefab index 911059ca..aa43addb 100644 --- a/meng_yao/Assets/Prefabs/ui/scene_main/Battle_Selection.prefab +++ b/meng_yao/Assets/Prefabs/ui/scene_main/Battle_Selection.prefab @@ -9966,8 +9966,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: eebc2d665d26c1d49a557ffe94112a95, type: 3} m_Name: m_EditorClassIdentifier: - retbutton: {fileID: 8646173537086044371} - ClosureObj: {fileID: 8646173536216845692} + description: _panel: {fileID: 8646173537686396001} BTNs: [] EnemyGeneratePos: {fileID: 8646173537015180660} @@ -9990,7 +9989,8 @@ MonoBehaviour: scaleDownDuration: 0.2 scaleUpDuration: 0.4 tiaoScene: {fileID: 8646173536183414967} - Btns: [] + Btns: + - {fileID: 8646173537086044371} _staminaBar: {fileID: 0} loadPanelPrefab: {fileID: 6870665346359048685, guid: 6839835fa4bd9ee4082efffc9eccc703, type: 3} --- !u!1 &8646173536251712116 diff --git a/meng_yao/Assets/Scenes/scene_Main.unity b/meng_yao/Assets/Scenes/scene_Main.unity index 4653b582..31503e4f 100644 --- a/meng_yao/Assets/Scenes/scene_Main.unity +++ b/meng_yao/Assets/Scenes/scene_Main.unity @@ -3785,6 +3785,189 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 47429196} m_CullTransparentMesh: 1 +--- !u!1001 &47636492 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 2110342203} + m_Modifications: + - target: {fileID: 5597939931395878172, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.x + value: -9.186401 + objectReference: {fileID: 0} + - target: {fileID: 5597939931395878172, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.y + value: 1226.2799 + objectReference: {fileID: 0} + - target: {fileID: 7936264300587005402, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7936264300587005402, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.x + value: -17 + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 47636494} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: SetActive + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName + value: UnityEngine.GameObject, UnityEngine + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 387.5308 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.y + value: -631.13995 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_Name + value: GameplayPlane + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} +--- !u!224 &47636493 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + m_PrefabInstance: {fileID: 47636492} + m_PrefabAsset: {fileID: 0} +--- !u!1 &47636494 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + m_PrefabInstance: {fileID: 47636492} + m_PrefabAsset: {fileID: 0} --- !u!1 &48111752 GameObject: m_ObjectHideFlags: 0 @@ -15516,6 +15699,11 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 4284489241738703987, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} m_PrefabInstance: {fileID: 157786198} m_PrefabAsset: {fileID: 0} +--- !u!1 &162290589 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + m_PrefabInstance: {fileID: 463502930} + m_PrefabAsset: {fileID: 0} --- !u!1 &162542979 GameObject: m_ObjectHideFlags: 0 @@ -18741,7 +18929,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 2037317443} - - {fileID: 1278120622} + - {fileID: 463502931} m_Father: {fileID: 914645750} m_RootOrder: 12 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -18763,7 +18951,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: gold: {fileID: 2065901645} - introtext: {fileID: 1278120623} + introtext: {fileID: 463502932} islandname: {fileID: 798912686} InvesttotalText: {fileID: 102322138} UpButton: {fileID: 2004559860} @@ -29270,7 +29458,6 @@ GameObject: - component: {fileID: 327117866} - component: {fileID: 327117865} - component: {fileID: 327117864} - - component: {fileID: 327117867} m_Layer: 5 m_Name: wanfa m_TagString: Untagged @@ -29342,7 +29529,19 @@ MonoBehaviour: m_TargetGraphic: {fileID: 327117865} m_OnClick: m_PersistentCalls: - m_Calls: [] + m_Calls: + - m_Target: {fileID: 162290589} + m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine + m_MethodName: SetActive + m_Mode: 6 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 1 + m_CallState: 2 --- !u!114 &327117865 MonoBehaviour: m_ObjectHideFlags: 0 @@ -29381,21 +29580,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 327117862} m_CullTransparentMesh: 1 ---- !u!114 &327117867 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 327117862} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 6f08836fb76a8dd4dadd1519710547a4, type: 3} - m_Name: - m_EditorClassIdentifier: - btn: {fileID: 327117864} - Text: {fileID: 1278120624} - TextIsShow: 0 --- !u!1 &327239479 GameObject: m_ObjectHideFlags: 0 @@ -35079,7 +35263,7 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 414, y: -53.699707} + m_AnchoredPosition: {x: 414, y: -53.69955} m_SizeDelta: {x: 458.6698, y: 76.3482} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &373241424 @@ -43357,6 +43541,195 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 462412231} m_CullTransparentMesh: 1 +--- !u!1001 &463502930 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 204186791} + m_Modifications: + - target: {fileID: 5597939931395878172, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.x + value: -9.186401 + objectReference: {fileID: 0} + - target: {fileID: 5597939931395878172, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.y + value: 1226.2799 + objectReference: {fileID: 0} + - target: {fileID: 7936264300587005402, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 7936264300587005402, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.x + value: -17 + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode + value: 6 + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target + value: + objectReference: {fileID: 162290589} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName + value: SetActive + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName + value: UnityEngine.GameObject, UnityEngine + objectReference: {fileID: 0} + - target: {fileID: 8266668361936784969, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName + value: UnityEngine.Object, UnityEngine + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 387.5308 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.y + value: -631.13995 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.x + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalRotation.x + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalRotation.y + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalRotation.z + value: -0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_Name + value: GameplayPlane + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} +--- !u!224 &463502931 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + m_PrefabInstance: {fileID: 463502930} + m_PrefabAsset: {fileID: 0} +--- !u!114 &463502932 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8266668362755610847, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + m_PrefabInstance: {fileID: 463502930} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &464365485 GameObject: m_ObjectHideFlags: 0 @@ -54470,7 +54843,19 @@ MonoBehaviour: m_TargetGraphic: {fileID: 583108344} m_OnClick: m_PersistentCalls: - m_Calls: [] + m_Calls: + - m_Target: {fileID: 47636494} + m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine + m_MethodName: SetActive + m_Mode: 6 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 1 + m_CallState: 2 --- !u!114 &583108344 MonoBehaviour: m_ObjectHideFlags: 0 @@ -120106,128 +120491,6 @@ MonoBehaviour: m_ChildScaleWidth: 0 m_ChildScaleHeight: 0 m_ReverseArrangement: 0 ---- !u!1001 &1278120621 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 204186791} - m_Modifications: - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_AnchorMax.x - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_AnchorMax.y - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_SizeDelta.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalRotation.x - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalRotation.y - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalRotation.z - value: -0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_Name - value: GameplayPlane - objectReference: {fileID: 0} - - target: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - propertyPath: m_IsActive - value: 0 - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} ---- !u!224 &1278120622 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - m_PrefabInstance: {fileID: 1278120621} - m_PrefabAsset: {fileID: 0} ---- !u!114 &1278120623 stripped -MonoBehaviour: - m_CorrespondingSourceObject: {fileID: 8266668362755610847, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - m_PrefabInstance: {fileID: 1278120621} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!1 &1278120624 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} - m_PrefabInstance: {fileID: 1278120621} - m_PrefabAsset: {fileID: 0} --- !u!1 &1279316945 GameObject: m_ObjectHideFlags: 0 @@ -176890,7 +177153,19 @@ MonoBehaviour: m_TargetGraphic: {fileID: 1900164026} m_OnClick: m_PersistentCalls: - m_Calls: [] + m_Calls: + - m_Target: {fileID: 47636494} + m_TargetAssemblyTypeName: UnityEngine.GameObject, UnityEngine + m_MethodName: SetActive + m_Mode: 6 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 1 + m_CallState: 2 --- !u!114 &1900164026 MonoBehaviour: m_ObjectHideFlags: 0 @@ -197919,6 +198194,7 @@ RectTransform: m_Children: - {fileID: 1005457135} - {fileID: 1676565208} + - {fileID: 47636493} m_Father: {fileID: 914645750} m_RootOrder: 9 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/meng_yao/Assets/script/UI_prefabs/Battle_Selection.cs b/meng_yao/Assets/script/UI_prefabs/Battle_Selection.cs index 97490c5e..8a0332a5 100644 --- a/meng_yao/Assets/script/UI_prefabs/Battle_Selection.cs +++ b/meng_yao/Assets/script/UI_prefabs/Battle_Selection.cs @@ -50,7 +50,10 @@ public class Battle_Selection : BaseUI // Start is called before the first frame update async void Start() { - + Btns[0].onClick.AddListener(() => + { + Destroy(this.gameObject); + }); await showPanel(_panel); // 初始化:将所有卡牌添加到萌妖卡列表,并设置其父节点为萌妖卡生成点 @@ -74,7 +77,7 @@ public class Battle_Selection : BaseUI await ButtonClickAnimationAsync(tiaoScene.gameObject); if (CarryCard.Count<=0) { - //Promptmgr.Instance.PromptBubble("请带上你的萌妖伙伴"); + Promptmgr.Instance.PromptBubble("请带上你的萌妖伙伴"); return; } diff --git a/meng_yao/Assets/script/scene_Main/Asset_Details.cs b/meng_yao/Assets/script/scene_Main/Asset_Details.cs index f571dde6..ada6acb9 100644 --- a/meng_yao/Assets/script/scene_Main/Asset_Details.cs +++ b/meng_yao/Assets/script/scene_Main/Asset_Details.cs @@ -144,8 +144,8 @@ public class Asset_Details : MonoBehaviour GetMoneyText.text = "¥"+get; GiveMoneyText.text = "¥" + give; HaveMoneyText.text = "¥" + have; - DateTime currentTime = DateTime.Now; + DateTime currentTime = DateTime.Now; // 格式化为 "yyyy.MM" 格式 string formattedTime = currentTime.ToString("yyyy.MM"); time.text = formattedTime;