From 51b3589d4f10b99c7689fa455533712013253f35 Mon Sep 17 00:00:00 2001 From: liuliang <597380732@qq.com> Date: Sat, 28 Dec 2024 17:51:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E7=9A=84=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E4=BB=A5=E5=8F=8A=E9=A6=96=E5=85=85=E7=95=8C=E9=9D=A2Ui?= =?UTF-8?q?=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Resources/Prefabs/first_charge_2.prefab | 675 +----------------- meng_yao/Assets/Scenes/scene_Main.unity | 530 +++++++++++--- .../script/scene_Main/Scene_main_jiekou.cs | 89 ++- .../script/scene_Main/ui/FirstChargePanel.cs | 23 + .../scene_Main/ui/FirstChargePanel.cs.meta | 11 + .../script/serveTestScript/ForgingModule.meta | 8 + .../ForgingModule/ForgingConfig.cs | 52 ++ .../ForgingModule/ForgingConfig.cs.meta | 11 + .../ForgingModule/ForgingSumbit.cs | 40 ++ .../ForgingModule/ForgingSumbit.cs.meta | 11 + .../RMBmodule/withdrawAccountUpdate.cs | 12 +- .../RMBmodule/withdrawApply.cs | 12 +- .../moneyModule/createOrder.cs | 10 +- .../serveTestScript/moneyModule/productBuy.cs | 6 +- 14 files changed, 687 insertions(+), 803 deletions(-) create mode 100644 meng_yao/Assets/script/scene_Main/ui/FirstChargePanel.cs create mode 100644 meng_yao/Assets/script/scene_Main/ui/FirstChargePanel.cs.meta create mode 100644 meng_yao/Assets/script/serveTestScript/ForgingModule.meta create mode 100644 meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingConfig.cs create mode 100644 meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingConfig.cs.meta create mode 100644 meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingSumbit.cs create mode 100644 meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingSumbit.cs.meta diff --git a/meng_yao/Assets/Resources/Prefabs/first_charge_2.prefab b/meng_yao/Assets/Resources/Prefabs/first_charge_2.prefab index b626adc2..b9acefe2 100644 --- a/meng_yao/Assets/Resources/Prefabs/first_charge_2.prefab +++ b/meng_yao/Assets/Resources/Prefabs/first_charge_2.prefab @@ -1,161 +1,5 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: ---- !u!1 &191095432493222032 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7320440570816849896} - - component: {fileID: 6607966839469524218} - - component: {fileID: 2630830552493420333} - m_Layer: 5 - m_Name: Image (1) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7320440570816849896 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 191095432493222032} - 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 - m_Children: [] - m_Father: {fileID: 2071200578065653216} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 1} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: -61, y: -54} - m_SizeDelta: {x: 118, y: 106} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &6607966839469524218 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 191095432493222032} - m_CullTransparentMesh: 1 ---- !u!114 &2630830552493420333 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 191095432493222032} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 12d5fdc6b06ac1f438037ec6ed6ec771, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!1 &380834759637805452 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 529966241242344306} - - component: {fileID: 1798315949467440404} - - component: {fileID: 1898316240379289033} - m_Layer: 5 - m_Name: Text (Legacy) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &529966241242344306 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 380834759637805452} - 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 - m_Children: [] - m_Father: {fileID: 4801804215794890250} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1798315949467440404 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 380834759637805452} - m_CullTransparentMesh: 1 ---- !u!114 &1898316240379289033 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 380834759637805452} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 30 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 3 - m_MaxSize: 40 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: "\uFFE5265" --- !u!1 &442657387400346001 GameObject: m_ObjectHideFlags: 0 @@ -236,86 +80,6 @@ MonoBehaviour: m_VerticalOverflow: 0 m_LineSpacing: 1 m_Text: "\u94BB\u77F3\u793C\u5305" ---- !u!1 &990641844036621458 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 2071200578065653216} - - component: {fileID: 499758534109384621} - - component: {fileID: 1037186067997884369} - m_Layer: 5 - m_Name: first_charge - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &2071200578065653216 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 990641844036621458} - 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 - m_Children: - - {fileID: 5654825901940061632} - - {fileID: 7599676657393456553} - - {fileID: 4801804215794890250} - - {fileID: 7320440570816849896} - m_Father: {fileID: 3410538237006333019} - m_RootOrder: 3 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 497, y: 0} - m_SizeDelta: {x: 538, y: 484} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &499758534109384621 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 990641844036621458} - m_CullTransparentMesh: 1 ---- !u!114 &1037186067997884369 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 990641844036621458} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: e7481d28a175ce549a6a127813d9b9c7, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 --- !u!1 &1974238395123004254 GameObject: m_ObjectHideFlags: 0 @@ -347,7 +111,7 @@ RectTransform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 3410538237006333019} - m_RootOrder: 4 + m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 1} m_AnchorMax: {x: 1, y: 1} @@ -514,86 +278,6 @@ MonoBehaviour: m_OnClick: m_PersistentCalls: m_Calls: [] ---- !u!1 &3225364575578757440 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5422811183642433357} - - component: {fileID: 4438202692730641701} - - component: {fileID: 1280900932003241549} - m_Layer: 5 - m_Name: Text (Legacy) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5422811183642433357 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3225364575578757440} - 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 - m_Children: [] - m_Father: {fileID: 5654825901940061632} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 0, y: 0} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &4438202692730641701 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3225364575578757440} - m_CullTransparentMesh: 1 ---- !u!114 &1280900932003241549 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 3225364575578757440} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 30 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 40 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: "\u94BB\u77F3\u793C\u5305" --- !u!1 &3594815703578209036 GameObject: m_ObjectHideFlags: 0 @@ -707,7 +391,6 @@ RectTransform: - {fileID: 1822543679956952870} - {fileID: 1004668025808899594} - {fileID: 1205849732908398943} - - {fileID: 2071200578065653216} - {fileID: 8304440133534458112} m_Father: {fileID: 0} m_RootOrder: 0 @@ -755,83 +438,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &4533183037957232226 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 7599676657393456553} - - component: {fileID: 1091715408188906938} - - component: {fileID: 3798419309184350085} - m_Layer: 5 - m_Name: zuanshi - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &7599676657393456553 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4533183037957232226} - 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 - m_Children: - - {fileID: 6004332682225553384} - m_Father: {fileID: 2071200578065653216} - m_RootOrder: 1 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0.5} - m_AnchorMax: {x: 0.5, y: 0.5} - m_AnchoredPosition: {x: 0, y: 0} - m_SizeDelta: {x: 322, y: 166} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1091715408188906938 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4533183037957232226} - m_CullTransparentMesh: 1 ---- !u!114 &3798419309184350085 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 4533183037957232226} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 3b67efed443349a47910846886541e7a, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 --- !u!1 &5996865222481068267 GameObject: m_ObjectHideFlags: 0 @@ -986,285 +592,6 @@ MonoBehaviour: m_FillOrigin: 0 m_UseSpriteMesh: 0 m_PixelsPerUnitMultiplier: 1 ---- !u!1 &7974183208696679256 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 6004332682225553384} - - component: {fileID: 8540208265552299379} - - component: {fileID: 7842975848166360924} - m_Layer: 5 - m_Name: Text (Legacy) - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &6004332682225553384 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7974183208696679256} - 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 - m_Children: [] - m_Father: {fileID: 7599676657393456553} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0} - m_AnchorMax: {x: 1, y: 0} - m_AnchoredPosition: {x: -53.7252, y: 48} - m_SizeDelta: {x: 107.4504, y: 63.4005} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &8540208265552299379 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7974183208696679256} - m_CullTransparentMesh: 1 ---- !u!114 &7842975848166360924 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 7974183208696679256} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_FontData: - m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} - m_FontSize: 40 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 2 - m_MaxSize: 40 - m_Alignment: 4 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: 20 ---- !u!1 &8709167030304288043 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 4801804215794890250} - - component: {fileID: 1764880929901504016} - - component: {fileID: 8221158634113804621} - - component: {fileID: 9128987931606971539} - m_Layer: 5 - m_Name: gmbtn - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &4801804215794890250 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8709167030304288043} - 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 - m_Children: - - {fileID: 529966241242344306} - m_Father: {fileID: 2071200578065653216} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 0} - m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 0, y: 101} - m_SizeDelta: {x: 212, y: 84} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &1764880929901504016 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8709167030304288043} - m_CullTransparentMesh: 1 ---- !u!114 &8221158634113804621 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8709167030304288043} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 09ac7c8122a751a488a56c414008c599, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 ---- !u!114 &9128987931606971539 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8709167030304288043} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Navigation: - m_Mode: 3 - m_WrapAround: 0 - m_SelectOnUp: {fileID: 0} - m_SelectOnDown: {fileID: 0} - m_SelectOnLeft: {fileID: 0} - m_SelectOnRight: {fileID: 0} - m_Transition: 1 - m_Colors: - m_NormalColor: {r: 1, g: 1, b: 1, a: 1} - m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} - m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} - m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} - m_ColorMultiplier: 1 - m_FadeDuration: 0.1 - m_SpriteState: - m_HighlightedSprite: {fileID: 0} - m_PressedSprite: {fileID: 0} - m_SelectedSprite: {fileID: 0} - m_DisabledSprite: {fileID: 0} - m_AnimationTriggers: - m_NormalTrigger: Normal - m_HighlightedTrigger: Highlighted - m_PressedTrigger: Pressed - m_SelectedTrigger: Selected - m_DisabledTrigger: Disabled - m_Interactable: 1 - m_TargetGraphic: {fileID: 8221158634113804621} - m_OnClick: - m_PersistentCalls: - m_Calls: [] ---- !u!1 &8909583071273670780 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 5654825901940061632} - - component: {fileID: 7423797664210353691} - - component: {fileID: 5205595791357808547} - m_Layer: 5 - m_Name: textimg - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &5654825901940061632 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8909583071273670780} - 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 - m_Children: - - {fileID: 5422811183642433357} - m_Father: {fileID: 2071200578065653216} - m_RootOrder: 0 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0.5, y: 1} - m_AnchorMax: {x: 0.5, y: 1} - m_AnchoredPosition: {x: 0, y: -69} - m_SizeDelta: {x: 294, y: 66} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!222 &7423797664210353691 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8909583071273670780} - m_CullTransparentMesh: 1 ---- !u!114 &5205595791357808547 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 8909583071273670780} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Sprite: {fileID: 21300000, guid: 7230fba168b20264a9c922c677a9e33a, type: 3} - m_Type: 0 - m_PreserveAspect: 0 - m_FillCenter: 1 - m_FillMethod: 4 - m_FillAmount: 1 - m_FillClockwise: 1 - m_FillOrigin: 0 - m_UseSpriteMesh: 0 - m_PixelsPerUnitMultiplier: 1 --- !u!1 &9175127418705475282 GameObject: m_ObjectHideFlags: 0 diff --git a/meng_yao/Assets/Scenes/scene_Main.unity b/meng_yao/Assets/Scenes/scene_Main.unity index 722d12a0..b28edf6e 100644 --- a/meng_yao/Assets/Scenes/scene_Main.unity +++ b/meng_yao/Assets/Scenes/scene_Main.unity @@ -1752,7 +1752,7 @@ GameObject: m_Component: - component: {fileID: 24618075} - component: {fileID: 24618077} - - component: {fileID: 24618076} + - component: {fileID: 24618078} m_Layer: 5 m_Name: Content m_TagString: Untagged @@ -1775,40 +1775,17 @@ RectTransform: - {fileID: 250995573} - {fileID: 1544908208} - {fileID: 934149989} + - {fileID: 1407307352} + - {fileID: 368470776} + - {fileID: 1109613704} m_Father: {fileID: 877331199} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 0, y: 1} - m_AnchoredPosition: {x: 498.32166, y: -0} - m_SizeDelta: {x: 18, y: 1388.2001} + m_AnchoredPosition: {x: 0, y: -0} + m_SizeDelta: {x: 1072.43, y: 1389.26} m_Pivot: {x: 0, y: 1} ---- !u!114 &24618076 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 24618074} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 59f8146938fff824cb5fd77236b75775, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Padding: - m_Left: -512 - m_Right: -8 - m_Top: 0 - m_Bottom: 0 - m_ChildAlignment: 4 - m_Spacing: -31.9 - m_ChildForceExpandWidth: 1 - m_ChildForceExpandHeight: 1 - m_ChildControlWidth: 0 - m_ChildControlHeight: 0 - m_ChildScaleWidth: 0 - m_ChildScaleHeight: 0 - m_ReverseArrangement: 0 --- !u!114 &24618077 MonoBehaviour: m_ObjectHideFlags: 0 @@ -1821,8 +1798,32 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} m_Name: m_EditorClassIdentifier: - m_HorizontalFit: 1 - m_VerticalFit: 1 + m_HorizontalFit: 2 + m_VerticalFit: 2 +--- !u!114 &24618078 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 24618074} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Padding: + m_Left: 17 + m_Right: 0 + m_Top: 0 + m_Bottom: 0 + m_ChildAlignment: 0 + m_StartCorner: 0 + m_StartAxis: 0 + m_CellSize: {x: 538, y: 484} + m_Spacing: {x: -20.57, y: -31.37} + m_Constraint: 1 + m_ConstraintCount: 2 --- !u!1 &26725706 GameObject: m_ObjectHideFlags: 0 @@ -5399,8 +5400,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 12, y: -175.41699} - m_SizeDelta: {x: -48.3567, y: -797.3971} + m_AnchoredPosition: {x: -0.000061035156, y: -175.41699} + m_SizeDelta: {x: 0.00024414, y: -797.3971} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &59377654 MonoBehaviour: @@ -12508,6 +12509,7 @@ GameObject: - component: {fileID: 126667659} - component: {fileID: 126667661} - component: {fileID: 126667660} + - component: {fileID: 126667662} m_Layer: 5 m_Name: First_Charge2 m_TagString: Untagged @@ -12579,6 +12581,20 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 126667658} m_CullTransparentMesh: 1 +--- !u!114 &126667662 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 126667658} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 15ad9fffc4819ba4a9adcd7936d48a95, type: 3} + m_Name: + m_EditorClassIdentifier: + firstitempr: {fileID: 0} + Connact: {fileID: 0} --- !u!1 &128977406 GameObject: m_ObjectHideFlags: 0 @@ -22314,11 +22330,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.x - value: 538 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.y - value: 484 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_LocalPosition.x @@ -22350,7 +22366,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.x - value: -243 + value: 286 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.y @@ -22379,31 +22395,11 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} m_PrefabInstance: {fileID: 250995572} m_PrefabAsset: {fileID: 0} ---- !u!1 &250995574 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 380834759637805452, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} - m_PrefabInstance: {fileID: 250995572} - m_PrefabAsset: {fileID: 0} --- !u!1 &250995575 stripped GameObject: m_CorrespondingSourceObject: {fileID: 9175127418705475282, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} m_PrefabInstance: {fileID: 250995572} m_PrefabAsset: {fileID: 0} ---- !u!114 &250995576 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 250995574} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} - m_Name: - m_EditorClassIdentifier: - m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} - m_EffectDistance: {x: 2, y: -2} - m_UseGraphicAlpha: 1 --- !u!114 &250995577 MonoBehaviour: m_ObjectHideFlags: 0 @@ -32771,6 +32767,128 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 368440243} m_CullTransparentMesh: 1 +--- !u!1001 &368470775 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 24618075} + m_Modifications: + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_RootOrder + value: 4 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchoredPosition.x + value: 286 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchoredPosition.y + value: -1147.26 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4045721540850540477, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Name + value: first_charge_2 (4) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} +--- !u!224 &368470776 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + m_PrefabInstance: {fileID: 368470775} + m_PrefabAsset: {fileID: 0} +--- !u!1 &368470777 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 9175127418705475282, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + m_PrefabInstance: {fileID: 368470775} + m_PrefabAsset: {fileID: 0} +--- !u!114 &368470778 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 368470777} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} + m_EffectDistance: {x: 2, y: -2} + m_UseGraphicAlpha: 1 --- !u!1 &368587894 GameObject: m_ObjectHideFlags: 0 @@ -81930,11 +82048,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.x - value: 538 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.y - value: 484 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_LocalPosition.x @@ -81966,11 +82084,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.x - value: -243 + value: 286 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.y - value: -1146.2 + value: -694.63 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -81995,31 +82113,11 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} m_PrefabInstance: {fileID: 934149988} m_PrefabAsset: {fileID: 0} ---- !u!1 &934149990 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 380834759637805452, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} - m_PrefabInstance: {fileID: 934149988} - m_PrefabAsset: {fileID: 0} --- !u!1 &934149991 stripped GameObject: m_CorrespondingSourceObject: {fileID: 9175127418705475282, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} m_PrefabInstance: {fileID: 934149988} m_PrefabAsset: {fileID: 0} ---- !u!114 &934149992 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 934149990} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} - m_Name: - m_EditorClassIdentifier: - m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} - m_EffectDistance: {x: 2, y: -2} - m_UseGraphicAlpha: 1 --- !u!114 &934149993 MonoBehaviour: m_ObjectHideFlags: 0 @@ -97876,6 +97974,128 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1108692905} m_CullTransparentMesh: 1 +--- !u!1001 &1109613703 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 24618075} + m_Modifications: + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_RootOrder + value: 5 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchoredPosition.x + value: 803.43 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchoredPosition.y + value: -1147.26 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4045721540850540477, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Name + value: first_charge_2 (5) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} +--- !u!224 &1109613704 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + m_PrefabInstance: {fileID: 1109613703} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1109613705 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 9175127418705475282, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + m_PrefabInstance: {fileID: 1109613703} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1109613706 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1109613705} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} + m_EffectDistance: {x: 2, y: -2} + m_UseGraphicAlpha: 1 --- !u!1 &1110931370 GameObject: m_ObjectHideFlags: 0 @@ -124471,6 +124691,128 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1406717696} m_CullTransparentMesh: 1 +--- !u!1001 &1407307351 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 24618075} + m_Modifications: + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Pivot.x + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Pivot.y + value: 0.5 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMax.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMin.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchorMin.y + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalPosition.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchoredPosition.x + value: 803.43 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_AnchoredPosition.y + value: -694.63 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 4045721540850540477, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + propertyPath: m_Name + value: first_charge_2 (3) + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} +--- !u!224 &1407307352 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + m_PrefabInstance: {fileID: 1407307351} + m_PrefabAsset: {fileID: 0} +--- !u!1 &1407307353 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 9175127418705475282, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} + m_PrefabInstance: {fileID: 1407307351} + m_PrefabAsset: {fileID: 0} +--- !u!114 &1407307354 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1407307353} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} + m_Name: + m_EditorClassIdentifier: + m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} + m_EffectDistance: {x: 2, y: -2} + m_UseGraphicAlpha: 1 --- !u!1 &1407531059 GameObject: m_ObjectHideFlags: 0 @@ -135637,11 +135979,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.x - value: 538 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_SizeDelta.y - value: 484 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_LocalPosition.x @@ -135673,11 +136015,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.x - value: -243 + value: 803.43 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_AnchoredPosition.y - value: -694.1 + value: -242 objectReference: {fileID: 0} - target: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -135702,31 +136044,11 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 3410538237006333019, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} m_PrefabInstance: {fileID: 1544908207} m_PrefabAsset: {fileID: 0} ---- !u!1 &1544908209 stripped -GameObject: - m_CorrespondingSourceObject: {fileID: 380834759637805452, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} - m_PrefabInstance: {fileID: 1544908207} - m_PrefabAsset: {fileID: 0} --- !u!1 &1544908210 stripped GameObject: m_CorrespondingSourceObject: {fileID: 9175127418705475282, guid: 9180c4638ae6d7e43a9d2114c2e66d74, type: 3} m_PrefabInstance: {fileID: 1544908207} m_PrefabAsset: {fileID: 0} ---- !u!114 &1544908211 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1544908209} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} - m_Name: - m_EditorClassIdentifier: - m_EffectColor: {r: 0, g: 0, b: 0, a: 0.5} - m_EffectDistance: {x: 2, y: -2} - m_UseGraphicAlpha: 1 --- !u!114 &1544908212 MonoBehaviour: m_ObjectHideFlags: 0 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 7d07b832..af6906b6 100644 --- a/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs +++ b/meng_yao/Assets/script/scene_Main/Scene_main_jiekou.cs @@ -1,3 +1,4 @@ +using Palmmedia.ReportGenerator.Core.Reporting.Builders; using System; using System.Collections; using System.Collections.Generic; @@ -30,6 +31,16 @@ public class Scene_main_jiekou :MonoBehaviour conventionInfo conventionInfo = new conventionInfo(); capitalbalance capitalbalance = new capitalbalance(); noticeInfo noticeInfo = new noticeInfo(); + product_list product_list = new product_list(); + productBuy productBuy = new productBuy(); + createOrder createOrder = new createOrder(); + orderVerification orderVerification = new orderVerification(); + withdrawConfig withdrawConfig = new withdrawConfig(); + withdrawApply withdrawApply = new withdrawApply(); + withdrawRecord withdrawRecord = new withdrawRecord(); + withdrawAccountUpdate withdrawAccountUpdate = new withdrawAccountUpdate(); + ForgingConfig forgingConfig = new ForgingConfig(); + ForgingSumbit forgingSumbit = new ForgingSumbit(); public static Scene_main_jiekou instance; @@ -146,17 +157,85 @@ public class Scene_main_jiekou :MonoBehaviour return await cancellation.Cancellation(); }//账号销毁 + public async Task ProductLists()//产品列表 + { + return await product_list.ProductList(); + } + public async Task BuyProducts(int id)//产品购买 + { + BuyProductBody body = new BuyProductBody(); + body.id = id; + return await productBuy.BuyProduct(body); + } + public async Task CreateOrders(int business_id, int business_type, string channel_Id)//支付订单创建 + { + CreateOrderBody body = new CreateOrderBody(); + body.business_type = business_type; + body.channel_Id = channel_Id; + body.business_id = business_id; + return await createOrder.CreateOrder(body); + } + public async Task OrderVerifications(int tradeNo)//支付订单验证 + { + return await orderVerification.OrderVerification(tradeNo); + } + public async Task WithdrawConfigs()//提现配置 + { + return await withdrawConfig.WithdrawConfig(); + } + public async Task WithdrawApplys(int type, int amount, int account_type, string trade_password)//提现申请 + { + WithdrawApplyBody body = new WithdrawApplyBody(); + body.type = type; + body.amount = amount; + body.account_type = account_type; + body.trade_password = trade_password; + + return await withdrawApply.WithdrawApply(body); + } + + public async Task WithdrawRecords()//提现记录 + { + return await withdrawRecord.WithdrawRecord(); + } + + public async Task WithdrawAccountUpdate(int type, string name, string account, string additional)//提现账户设置 + { + WithdrawAccountUpdateBody body = new WithdrawAccountUpdateBody(); + body.type = type; + body.name = name; + body.account = account; + body.additional = additional; + + return await withdrawAccountUpdate.WithdrawAccountUpdate(body); + } + + public async Task ForgingInfos()//锻造配置 + { + return await forgingConfig.ForgingInfo(); + } + + public async Task ForgingSumbits(int id)//锻造提交 + { + ForgingSumbitBody body =new ForgingSumbitBody(); + body.id = id; + return await forgingSumbit.ForgingSumbits(body); + } + + + + /// - /// 获取账单统计 - /// - /// 1宝石,2金币,3水,4锻造令 - /// - public async Task GetbillingStatisticsData(int type) + /// 获取账单统计 + /// + /// 1宝石,2金币,3水,4锻造令 + /// + public async Task GetbillingStatisticsData(int type) { //await _Login.TastLogin(); billingStatisticsResponse info = await _BillingStatistics.billingStatistics(type); diff --git a/meng_yao/Assets/script/scene_Main/ui/FirstChargePanel.cs b/meng_yao/Assets/script/scene_Main/ui/FirstChargePanel.cs new file mode 100644 index 00000000..9a47c478 --- /dev/null +++ b/meng_yao/Assets/script/scene_Main/ui/FirstChargePanel.cs @@ -0,0 +1,23 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +public class FirstChargePanel : MonoBehaviour +{ + + public GameObject firstitempr; + public Transform Connact; + + void Start() + { + + + + } + + // Update is called once per frame + void Update() + { + + } +} diff --git a/meng_yao/Assets/script/scene_Main/ui/FirstChargePanel.cs.meta b/meng_yao/Assets/script/scene_Main/ui/FirstChargePanel.cs.meta new file mode 100644 index 00000000..5b501c84 --- /dev/null +++ b/meng_yao/Assets/script/scene_Main/ui/FirstChargePanel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 15ad9fffc4819ba4a9adcd7936d48a95 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/meng_yao/Assets/script/serveTestScript/ForgingModule.meta b/meng_yao/Assets/script/serveTestScript/ForgingModule.meta new file mode 100644 index 00000000..307886ef --- /dev/null +++ b/meng_yao/Assets/script/serveTestScript/ForgingModule.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: df1648f600d9fb8448884dafb141809a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingConfig.cs b/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingConfig.cs new file mode 100644 index 00000000..2054917e --- /dev/null +++ b/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingConfig.cs @@ -0,0 +1,52 @@ +using Newtonsoft.Json; +using System; +using System.Collections; +using System.Collections.Generic; +using System.Threading.Tasks; +using UnityEngine; + +public class ForgingConfig : MonoBehaviour +{ + public Dictionary CreateHeaders() + { + if (string.IsNullOrEmpty(MyGlobal.global.loginResponse.Data.access_token)) + { + Debug.LogWarning("尝试创建请求头时,token 未设置。"); + return new Dictionary(); + } + return new Dictionary + { + + { "Authorization","Bearer "+MyGlobal.global.loginResponse.Data.access_token }, + { "client-info", "{\"platform\":\"ios\",\"phone_product\":\"apple\",\"phone_model\":\"iPhone_8\",\"system_version\":\"12.0\",\"screen_size\":\"750*1334\",\"device_no\":\"e3e277810fff9d955ebdd7037eff51a8\",\"version\":\"1.0.0\"}" } + }; + } + public async Task ForgingInfo() + { + string response = await myWeb.SendRequest(myWeb.URL + "/api/forge_maker/config", "GET", "{}", CreateHeaders()); + Debug.Log("提现记录" + response); + + ForgingResponse ForgingResponse = JsonConvert.DeserializeObject(response); + Debug.Log(ForgingResponse.Data[0].Id); + + return ForgingResponse; + } +} + +public class ForgingResponse:myResponse +{ + public List Data; +} +[Serializable] +public class ForgingData +{ + public int Id { get; set; } + public string Name { get; set; } + public string Icon { get; set; } + public int Price { get; set; } + public int PriceType { get; set; } + public int Yield { get; set; } + public int YieldCycle { get; set; } + public int ActivateLimit { get; set; } + public int ActivateCount { get; set; } +} diff --git a/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingConfig.cs.meta b/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingConfig.cs.meta new file mode 100644 index 00000000..1967ee51 --- /dev/null +++ b/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingConfig.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 963714b0306afb441aef4eec9e8b8c3b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingSumbit.cs b/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingSumbit.cs new file mode 100644 index 00000000..837d45b6 --- /dev/null +++ b/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingSumbit.cs @@ -0,0 +1,40 @@ +using Newtonsoft.Json; +using System.Collections; +using System.Collections.Generic; +using System.Threading.Tasks; +using UnityEngine; + +public class ForgingSumbit : MonoBehaviour +{ + public Dictionary CreateHeaders() + { + if (string.IsNullOrEmpty(MyGlobal.global.loginResponse.Data.access_token)) + { + Debug.LogWarning("尝试创建请求头时,token 未设置。"); + return new Dictionary(); + } + return new Dictionary + { + + { "Authorization","Bearer "+MyGlobal.global.loginResponse.Data.access_token }, + { "client-info", "{\"platform\":\"ios\",\"phone_product\":\"apple\",\"phone_model\":\"iPhone_8\",\"system_version\":\"12.0\",\"screen_size\":\"750*1334\",\"device_no\":\"e3e277810fff9d955ebdd7037eff51a8\",\"version\":\"1.0.0\"}" } + }; + } + public async Task ForgingSumbits(ForgingSumbitBody body) + { + + Debug.Log("锻造提交入参===" + JsonConvert.SerializeObject(body)); + string response = await myWeb.SendRequest(myWeb.URL + "/api/forge_maker/submit", "POST", JsonConvert.SerializeObject(body), CreateHeaders()); + Debug.Log("锻造提交" + response); + myResponse petBelltesResponse = JsonConvert.DeserializeObject(response); + Debug.Log("=========" + petBelltesResponse.message); + bool isSucceed; + if (petBelltesResponse.code == 200) { isSucceed = true; } else { isSucceed = false; } + return isSucceed; + } +} + +public class ForgingSumbitBody +{ + public int id; +} diff --git a/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingSumbit.cs.meta b/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingSumbit.cs.meta new file mode 100644 index 00000000..c443d227 --- /dev/null +++ b/meng_yao/Assets/script/serveTestScript/ForgingModule/ForgingSumbit.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d6c035afdc7840143879ffc9e9c63895 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/meng_yao/Assets/script/serveTestScript/RMBmodule/withdrawAccountUpdate.cs b/meng_yao/Assets/script/serveTestScript/RMBmodule/withdrawAccountUpdate.cs index 5de2d7d0..ea9e0513 100644 --- a/meng_yao/Assets/script/serveTestScript/RMBmodule/withdrawAccountUpdate.cs +++ b/meng_yao/Assets/script/serveTestScript/RMBmodule/withdrawAccountUpdate.cs @@ -20,13 +20,13 @@ public class withdrawAccountUpdate : MonoBehaviour { "client-info", "{\"platform\":\"ios\",\"phone_product\":\"apple\",\"phone_model\":\"iPhone_8\",\"system_version\":\"12.0\",\"screen_size\":\"750*1334\",\"device_no\":\"e3e277810fff9d955ebdd7037eff51a8\",\"version\":\"1.0.0\"}" } }; } - public async Task WithdrawAccountUpdate(int type,string name,string account,string additional) + public async Task WithdrawAccountUpdate(WithdrawAccountUpdateBody body) { - WithdrawAccountUpdateBody body = new WithdrawAccountUpdateBody(); - body.type = type; - body.name = name; - body.account = account; - body.additional = additional; + //WithdrawAccountUpdateBody body = new WithdrawAccountUpdateBody(); + //body.type = type; + //body.name = name; + //body.account = account; + //body.additional = additional; Debug.Log("体现账户设置入参" + JsonConvert.SerializeObject(body)); string response = await myWeb.SendRequest(myWeb.URL + "/api/withdraw/account/update", "POST", JsonConvert.SerializeObject(body), CreateHeaders()); Debug.Log("体现账户设置" + response); diff --git a/meng_yao/Assets/script/serveTestScript/RMBmodule/withdrawApply.cs b/meng_yao/Assets/script/serveTestScript/RMBmodule/withdrawApply.cs index 2455929d..612a3281 100644 --- a/meng_yao/Assets/script/serveTestScript/RMBmodule/withdrawApply.cs +++ b/meng_yao/Assets/script/serveTestScript/RMBmodule/withdrawApply.cs @@ -20,13 +20,13 @@ public class withdrawApply : MonoBehaviour { "client-info", "{\"platform\":\"ios\",\"phone_product\":\"apple\",\"phone_model\":\"iPhone_8\",\"system_version\":\"12.0\",\"screen_size\":\"750*1334\",\"device_no\":\"e3e277810fff9d955ebdd7037eff51a8\",\"version\":\"1.0.0\"}" } }; } - public async Task WithdrawApply(int type,int amount,int account_type,string trade_password) + public async Task WithdrawApply(WithdrawApplyBody body) { - WithdrawApplyBody body = new WithdrawApplyBody(); - body.type = type; - body.amount = amount; - body.account_type = account_type; - body.trade_password = trade_password; + //WithdrawApplyBody body = new WithdrawApplyBody(); + //body.type = type; + //body.amount = amount; + //body.account_type = account_type; + //body.trade_password = trade_password; Debug.Log("提现申请入参===" + JsonConvert.SerializeObject(body)); string response = await myWeb.SendRequest(myWeb.URL + "/api/withdraw/apply", "POST", JsonConvert.SerializeObject(body), CreateHeaders()); Debug.Log("提现申请" + response); diff --git a/meng_yao/Assets/script/serveTestScript/moneyModule/createOrder.cs b/meng_yao/Assets/script/serveTestScript/moneyModule/createOrder.cs index 2233b71f..5816c845 100644 --- a/meng_yao/Assets/script/serveTestScript/moneyModule/createOrder.cs +++ b/meng_yao/Assets/script/serveTestScript/moneyModule/createOrder.cs @@ -21,12 +21,12 @@ public class createOrder : MonoBehaviour { "client-info", "{\"platform\":\"ios\",\"phone_product\":\"apple\",\"phone_model\":\"iPhone_8\",\"system_version\":\"12.0\",\"screen_size\":\"750*1334\",\"device_no\":\"e3e277810fff9d955ebdd7037eff51a8\",\"version\":\"1.0.0\"}" } }; } - public async Task CreateOrder(int business_id,int business_type,string channel_Id) + public async Task CreateOrder(CreateOrderBody body) { - CreateOrderBody body = new CreateOrderBody(); - body.business_type = business_type; - body.channel_Id = channel_Id; - body.business_id = business_id; + //CreateOrderBody body = new CreateOrderBody(); + //body.business_type = business_type; + //body.channel_Id = channel_Id; + //body.business_id = business_id; string response = await myWeb.SendRequest(myWeb.URL + "/api/payment/order/create", "POST", JsonConvert.SerializeObject(body), CreateHeaders()); Debug.Log("支付订单创建" + response); myResponse Response = JsonConvert.DeserializeObject(response); diff --git a/meng_yao/Assets/script/serveTestScript/moneyModule/productBuy.cs b/meng_yao/Assets/script/serveTestScript/moneyModule/productBuy.cs index 1c36587e..92112a8e 100644 --- a/meng_yao/Assets/script/serveTestScript/moneyModule/productBuy.cs +++ b/meng_yao/Assets/script/serveTestScript/moneyModule/productBuy.cs @@ -20,10 +20,10 @@ public class productBuy : MonoBehaviour { "client-info", "{\"platform\":\"ios\",\"phone_product\":\"apple\",\"phone_model\":\"iPhone_8\",\"system_version\":\"12.0\",\"screen_size\":\"750*1334\",\"device_no\":\"e3e277810fff9d955ebdd7037eff51a8\",\"version\":\"1.0.0\"}" } }; } - public async Task BuyProduct(int id) + public async Task BuyProduct(BuyProductBody body ) { - BuyProductBody body = new BuyProductBody(); - body.id = id; + //BuyProductBody body = new BuyProductBody(); + //body.id = id; string response = await myWeb.SendRequest(myWeb.URL + "/api/recharge/product_buy", "POST", JsonConvert.SerializeObject(body), CreateHeaders()); Debug.Log("购买产品" + response); myResponse Response = JsonConvert.DeserializeObject(response);