diff --git a/TheStrongestSnail/Assets/Scenes/Scene_main.unity b/TheStrongestSnail/Assets/Scenes/Scene_main.unity index 764c03e..4b7430c 100644 --- a/TheStrongestSnail/Assets/Scenes/Scene_main.unity +++ b/TheStrongestSnail/Assets/Scenes/Scene_main.unity @@ -1807,6 +1807,7 @@ GameObject: - component: {fileID: 278122027} - component: {fileID: 278122026} - component: {fileID: 278122030} + - component: {fileID: 278122031} m_Layer: 5 m_Name: Canvas m_TagString: Untagged @@ -1913,6 +1914,20 @@ MonoBehaviour: retbutton: {fileID: 0} ClosureObj: {fileID: 0} _mainBTN: {fileID: 332514051} +--- !u!114 &278122031 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 278122025} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 5bf0a41c64fbf844c9acc94bc1152324, type: 3} + m_Name: + m_EditorClassIdentifier: + _canvas: {fileID: 278122028} + panelPrefab: {fileID: 499058875926005686, guid: fd127a1747aec274e9335d11591e4f0a, type: 3} --- !u!1 &278944241 GameObject: m_ObjectHideFlags: 0 diff --git a/TheStrongestSnail/Assets/Scripts/Scene_main/Scene_main_jiekou.cs b/TheStrongestSnail/Assets/Scripts/Scene_main/Scene_main_jiekou.cs index 877a724..3820f60 100644 --- a/TheStrongestSnail/Assets/Scripts/Scene_main/Scene_main_jiekou.cs +++ b/TheStrongestSnail/Assets/Scripts/Scene_main/Scene_main_jiekou.cs @@ -15,13 +15,12 @@ public class Scene_main_jiekou :Base private void Awake() { instance = this; - getInfo(); + //getInfo(); } async void getInfo() { - //base.testLogo(); await StartAsync(); Debug.Log(_realPlayerInfo.data.nickName); Debug.Log(_realPlayerInfo.data.voluteCoin); diff --git a/TheStrongestSnail/Assets/Scripts/Scene_main/main_BaseShowPanel.cs b/TheStrongestSnail/Assets/Scripts/Scene_main/main_BaseShowPanel.cs new file mode 100644 index 0000000..26db44c --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/Scene_main/main_BaseShowPanel.cs @@ -0,0 +1,23 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; +using DG.Tweening; + + +//显示动画 +public class main_BaseShowPanel : MonoBehaviour +{ + [Header("父类自动的panel,按需要给")] + public GameObject _panel; + public void showPanel(GameObject panel) + { + if (panel == null) + { + Debug.LogError("panel==null"); + return; + } + panel.transform.localScale = new Vector3(0.5f, 0.5f, 0.5f); + panel.transform.DOScale(1f, 0.8f); + } + +} diff --git a/TheStrongestSnail/Assets/Scripts/Scene_main/main_BaseShowPanel.cs.meta b/TheStrongestSnail/Assets/Scripts/Scene_main/main_BaseShowPanel.cs.meta new file mode 100644 index 0000000..3992940 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/Scene_main/main_BaseShowPanel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4999ac9e2d00dab43af68e90868a428f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/Scripts/Scene_main/main_shop.cs b/TheStrongestSnail/Assets/Scripts/Scene_main/main_shop.cs index f3cdc44..5a2ad93 100644 --- a/TheStrongestSnail/Assets/Scripts/Scene_main/main_shop.cs +++ b/TheStrongestSnail/Assets/Scripts/Scene_main/main_shop.cs @@ -16,8 +16,6 @@ public class main_shop :BaseUIPanel btn.onClick.AddListener(() =>asyncOnShopBTN(btn)); } - - public async void asyncOnShopBTN(Button BTN) { await ButtonClickAnimationAsync(BTN.gameObject); diff --git a/TheStrongestSnail/Assets/Scripts/Scene_main/scene_main_init.cs b/TheStrongestSnail/Assets/Scripts/Scene_main/scene_main_init.cs new file mode 100644 index 0000000..e082012 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/Scene_main/scene_main_init.cs @@ -0,0 +1,19 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class scene_main_init : MonoBehaviour +{ + [Header("作为父节点的canvas")] + public Canvas _canvas; + [Header("需要生成的预制体")] + public GameObject panelPrefab; + // Start is called before the first frame update + void Start() + { + GameObject newPanel= GameObject.Instantiate(panelPrefab,_canvas.transform); + //newPanel.transform.localScale = new Vector3(0.5f, 0.5f, 0.5f); + } + + +} diff --git a/TheStrongestSnail/Assets/Scripts/Scene_main/scene_main_init.cs.meta b/TheStrongestSnail/Assets/Scripts/Scene_main/scene_main_init.cs.meta new file mode 100644 index 0000000..1594bfb --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/Scene_main/scene_main_init.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5bf0a41c64fbf844c9acc94bc1152324 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/Scripts/Scene_shop/BaseUIPanel.cs b/TheStrongestSnail/Assets/Scripts/Scene_shop/BaseUIPanel.cs index 42885a9..5e58443 100644 --- a/TheStrongestSnail/Assets/Scripts/Scene_shop/BaseUIPanel.cs +++ b/TheStrongestSnail/Assets/Scripts/Scene_shop/BaseUIPanel.cs @@ -68,4 +68,6 @@ public class BaseUIPanel : Base Destroy(gameObject); } + + } diff --git a/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx.meta b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx.meta new file mode 100644 index 0000000..c5cd84d --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4e3cd6c9c08188b48b69fc0d960de169 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodong.cs b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodong.cs new file mode 100644 index 0000000..4c0bbcb --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodong.cs @@ -0,0 +1,14 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class ui_huodong :main_BaseShowPanel +{ + // Start is called before the first frame update + void Start() + { + base.showPanel(base._panel); + } + + +} diff --git a/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodong.cs.meta b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodong.cs.meta new file mode 100644 index 0000000..90b1e87 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodong.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c95363cad8b348746bb23e5c2999c90d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongguize.cs b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongguize.cs new file mode 100644 index 0000000..41a95cf --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongguize.cs @@ -0,0 +1,12 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class ui_huodongguize :main_BaseShowPanel +{ + void Start() + { + base.showPanel(base._panel); + } + +} diff --git a/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongguize.cs.meta b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongguize.cs.meta new file mode 100644 index 0000000..b918bf3 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongguize.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ebf4a4b2a031fd04bb99d649a36edb43 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongxiangqing.cs b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongxiangqing.cs new file mode 100644 index 0000000..abdd149 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongxiangqing.cs @@ -0,0 +1,11 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class ui_huodongxiangqing :main_BaseShowPanel +{ + void Start() + { + base.showPanel(base._panel); + } +} diff --git a/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongxiangqing.cs.meta b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongxiangqing.cs.meta new file mode 100644 index 0000000..64eade2 --- /dev/null +++ b/TheStrongestSnail/Assets/Scripts/UI_contorl_wlx/ui_huodongxiangqing.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3eb2c504995a88a4a814a130d4ae95cd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/TheStrongestSnail/Assets/prefabs/huodong.prefab b/TheStrongestSnail/Assets/prefabs/huodong.prefab index b3194ce..aa31ca4 100644 --- a/TheStrongestSnail/Assets/prefabs/huodong.prefab +++ b/TheStrongestSnail/Assets/prefabs/huodong.prefab @@ -463,6 +463,7 @@ GameObject: - component: {fileID: 499058875926005685} - component: {fileID: 499058875926005683} - component: {fileID: 499058875926005684} + - component: {fileID: 6595102338907946265} m_Layer: 5 m_Name: huodong m_TagString: Untagged @@ -483,7 +484,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: - {fileID: 499058876202855931} - - {fileID: 7523801677764145654} + - {fileID: 5425866488925246728} m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -530,6 +531,19 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &6595102338907946265 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 499058875926005686} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: c95363cad8b348746bb23e5c2999c90d, type: 3} + m_Name: + m_EditorClassIdentifier: + _panel: {fileID: 499058876202855932} --- !u!1 &499058876078584823 GameObject: m_ObjectHideFlags: 0 @@ -1258,7 +1272,7 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1001 &3135945049552226299 +--- !u!1001 &621629213912326917 PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 @@ -1323,15 +1337,15 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3} propertyPath: m_LocalRotation.x - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3} propertyPath: m_LocalRotation.y - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3} propertyPath: m_LocalRotation.z - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3} propertyPath: m_AnchoredPosition.x @@ -1353,38 +1367,29 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode - value: 6 - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target + - target: {fileID: 5044707777241721125, guid: dac544bca4358514d949413f04b4421c, type: 3} + propertyPath: retbutton + value: + objectReference: {fileID: 5425866488925246731} + - target: {fileID: 5044707777241721125, guid: dac544bca4358514d949413f04b4421c, type: 3} + propertyPath: ClosureObj value: objectReference: {fileID: 499058875926005686} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName - value: SetActive - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName - value: UnityEngine.GameObject, UnityEngine - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName - value: UnityEngine.Object, UnityEngine - objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: dac544bca4358514d949413f04b4421c, type: 3} ---- !u!224 &7523801677764145654 stripped +--- !u!224 &5425866488925246728 stripped RectTransform: m_CorrespondingSourceObject: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3} - m_PrefabInstance: {fileID: 3135945049552226299} + m_PrefabInstance: {fileID: 621629213912326917} m_PrefabAsset: {fileID: 0} +--- !u!114 &5425866488925246731 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} + m_PrefabInstance: {fileID: 621629213912326917} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/TheStrongestSnail/Assets/prefabs/huodongguize.prefab b/TheStrongestSnail/Assets/prefabs/huodongguize.prefab index cb2940c..7b16620 100644 --- a/TheStrongestSnail/Assets/prefabs/huodongguize.prefab +++ b/TheStrongestSnail/Assets/prefabs/huodongguize.prefab @@ -539,6 +539,7 @@ GameObject: - component: {fileID: 499058875926005685} - component: {fileID: 499058875926005683} - component: {fileID: 499058875926005684} + - component: {fileID: 3544125792843658023} m_Layer: 5 m_Name: huodongguize m_TagString: Untagged @@ -606,6 +607,19 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &3544125792843658023 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 499058875926005686} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: ebf4a4b2a031fd04bb99d649a36edb43, type: 3} + m_Name: + m_EditorClassIdentifier: + _panel: {fileID: 499058876202855932} --- !u!1 &499058876109961379 GameObject: m_ObjectHideFlags: 0 @@ -1439,34 +1453,14 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode - value: 6 - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target + - target: {fileID: 5044707777241721125, guid: dac544bca4358514d949413f04b4421c, type: 3} + propertyPath: retbutton + value: + objectReference: {fileID: 9092932991162484607} + - target: {fileID: 5044707777241721125, guid: dac544bca4358514d949413f04b4421c, type: 3} + propertyPath: ClosureObj value: objectReference: {fileID: 499058875926005686} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_CallState - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName - value: SetActive - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName - value: UnityEngine.GameObject, UnityEngine - objectReference: {fileID: 0} - - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} - propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName - value: UnityEngine.Object, UnityEngine - objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: dac544bca4358514d949413f04b4421c, type: 3} --- !u!224 &9092932991162484604 stripped @@ -1474,3 +1468,14 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3} m_PrefabInstance: {fileID: 4457546351089135985} m_PrefabAsset: {fileID: 0} +--- !u!114 &9092932991162484607 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} + m_PrefabInstance: {fileID: 4457546351089135985} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/TheStrongestSnail/Assets/prefabs/huodongxiangqing.prefab b/TheStrongestSnail/Assets/prefabs/huodongxiangqing.prefab index b6ea074..4204906 100644 --- a/TheStrongestSnail/Assets/prefabs/huodongxiangqing.prefab +++ b/TheStrongestSnail/Assets/prefabs/huodongxiangqing.prefab @@ -463,6 +463,7 @@ GameObject: - component: {fileID: 499058875926005685} - component: {fileID: 499058875926005683} - component: {fileID: 499058875926005684} + - component: {fileID: 8830959524925691507} m_Layer: 5 m_Name: huodongxiangqing m_TagString: Untagged @@ -530,6 +531,19 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 +--- !u!114 &8830959524925691507 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 499058875926005686} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 3eb2c504995a88a4a814a130d4ae95cd, type: 3} + m_Name: + m_EditorClassIdentifier: + _panel: {fileID: 499058876202855932} --- !u!1 &499058876078584823 GameObject: m_ObjectHideFlags: 0 @@ -1067,7 +1081,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.size - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Mode @@ -1093,6 +1107,14 @@ PrefabInstance: propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName value: UnityEngine.Object, UnityEngine objectReference: {fileID: 0} + - target: {fileID: 5044707777241721125, guid: dac544bca4358514d949413f04b4421c, type: 3} + propertyPath: retbutton + value: + objectReference: {fileID: 8847518330792082534} + - target: {fileID: 5044707777241721125, guid: dac544bca4358514d949413f04b4421c, type: 3} + propertyPath: ClosureObj + value: + objectReference: {fileID: 499058875926005686} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: dac544bca4358514d949413f04b4421c, type: 3} --- !u!224 &8847518330792082533 stripped @@ -1100,3 +1122,14 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 4894555910357792269, guid: dac544bca4358514d949413f04b4421c, type: 3} m_PrefabInstance: {fileID: 4117494714808420968} m_PrefabAsset: {fileID: 0} +--- !u!114 &8847518330792082534 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4894555910357792270, guid: dac544bca4358514d949413f04b4421c, type: 3} + m_PrefabInstance: {fileID: 4117494714808420968} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: diff --git a/TheStrongestSnail/Assets/prefabs/retrun_BTN.prefab b/TheStrongestSnail/Assets/prefabs/retrun_BTN.prefab index 9980407..8315532 100644 --- a/TheStrongestSnail/Assets/prefabs/retrun_BTN.prefab +++ b/TheStrongestSnail/Assets/prefabs/retrun_BTN.prefab @@ -27,7 +27,7 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4894555910357792268} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 @@ -122,19 +122,7 @@ MonoBehaviour: m_TargetGraphic: {fileID: 4894555910357792271} m_OnClick: m_PersistentCalls: - m_Calls: - - m_Target: {fileID: 0} - m_TargetAssemblyTypeName: - m_MethodName: - m_Mode: 1 - m_Arguments: - m_ObjectArgument: {fileID: 0} - m_ObjectArgumentAssemblyTypeName: - m_IntArgument: 0 - m_FloatArgument: 0 - m_StringArgument: - m_BoolArgument: 0 - m_CallState: 2 + m_Calls: [] --- !u!114 &5044707777241721125 MonoBehaviour: m_ObjectHideFlags: 0 @@ -148,8 +136,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: retbutton: {fileID: 0} - btn: {fileID: 4894555910357792270} - panel: {fileID: 0} + ClosureObj: {fileID: 0} --- !u!1 &4894555911772163770 GameObject: m_ObjectHideFlags: 0