From ba5ca1ff49e13858d468bc2c2e1ad7c5d4c1e7af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=8F=B7=E6=95=AC?= <153802103@qq.com> Date: Thu, 9 Jan 2025 16:44:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A5=BF=E9=83=A8=E7=89=9B=E4=BB=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meng_yao/Assets/Scenes/scene_Main.unity | 734 ++++++++++-------- .../scene_Main/Thebestfishman/WebFishingPK.cs | 2 +- .../scene_Main/Thebestfishman/WebJoinroom.cs | 4 +- .../Thebestfishman/Westerncowboy.cs | 150 +++- 4 files changed, 513 insertions(+), 377 deletions(-) diff --git a/meng_yao/Assets/Scenes/scene_Main.unity b/meng_yao/Assets/Scenes/scene_Main.unity index 9cd4c4c7..8fbc59ca 100644 --- a/meng_yao/Assets/Scenes/scene_Main.unity +++ b/meng_yao/Assets/Scenes/scene_Main.unity @@ -2151,6 +2151,17 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3} m_PrefabInstance: {fileID: 29069100} m_PrefabAsset: {fileID: 0} +--- !u!114 &29069102 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8631885451795898584, guid: 638b7f7423db411419568d073208d929, type: 3} + m_PrefabInstance: {fileID: 29069100} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 97513649} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: --- !u!1 &29151551 GameObject: m_ObjectHideFlags: 0 @@ -20446,7 +20457,7 @@ MonoBehaviour: m_HorizontalOverflow: 1 m_VerticalOverflow: 0 m_LineSpacing: 1 - m_Text: + m_Text: 11 --- !u!222 &218069516 CanvasRenderer: m_ObjectHideFlags: 0 @@ -25694,7 +25705,6 @@ RectTransform: m_Children: - {fileID: 1996891429} - {fileID: 917784962} - - {fileID: 1067400303} m_Father: {fileID: 1276678947} m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -25798,7 +25808,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: btn: {fileID: 282339284} - Text: {fileID: 1067400302} + Text: {fileID: 725912347} TextIsShow: 0 --- !u!1 &282845201 GameObject: @@ -33679,19 +33689,19 @@ PrefabInstance: objectReference: {fileID: 1743557964} - target: {fileID: 2112356529, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2112356529, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2112356529, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2112356529, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -530 + value: 0 objectReference: {fileID: 0} - target: {fileID: 362676243581000638, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y @@ -33703,35 +33713,35 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1745005861961296864, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005861961296864, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005861961296864, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 284 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005861961296864, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -134 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862092927511, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862092927511, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862092927511, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 428 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862092927511, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -43 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862518541784, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_SizeDelta.x @@ -33747,67 +33757,67 @@ PrefabInstance: objectReference: {fileID: 21300000, guid: 25b48d23815d787459348452908b18ae, type: 3} - target: {fileID: 1745005862566341466, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862566341466, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862566341466, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 284 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862566341466, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -43 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862583204628, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862583204628, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862583204628, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 140 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862583204628, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -43 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862934533551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862934533551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862934533551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 428 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862934533551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -43 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005863352503744, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005863352503744, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005863352503744, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 140 + value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005863352503744, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -43 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2562232161644998510, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.x @@ -33927,35 +33937,35 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360592563063319, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592563063319, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592563063319, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592563063319, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -370 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592582767272, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592582767272, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592582767272, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 106.99179 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592582767272, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592610347646, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y @@ -33975,67 +33985,67 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360592645564356, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592645564356, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592645564356, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 16 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592645564356, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592737030264, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592737030264, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592737030264, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592737030264, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -210 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592788503291, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592788503291, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592788503291, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 49.333332 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592788503291, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592791725621, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592791725621, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592791725621, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 82.666664 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592791725621, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592795155832, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y @@ -34067,19 +34077,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360592853690225, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592853690225, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592853690225, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 16 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360592853690225, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593011467209, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y @@ -34087,35 +34097,35 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593140457125, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593140457125, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593140457125, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 790.55896 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593140457125, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593186653855, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593186653855, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593186653855, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593186653855, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -530 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593223604693, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_FillAmount @@ -34123,35 +34133,35 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593285734026, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593285734026, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593285734026, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593285734026, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593425406784, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593425406784, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593425406784, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 82.666664 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593425406784, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593425406785, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_IsActive @@ -34175,19 +34185,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593513166655, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593513166655, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593513166655, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 546.09827 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593513166655, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -57 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593518217985, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y @@ -34207,35 +34217,35 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593588897738, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593588897738, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593588897738, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 16 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593588897738, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593609606336, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593609606336, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593609606336, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 16 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593609606336, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593644270110, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_IsActive @@ -34259,19 +34269,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593689822042, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593689822042, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593689822042, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 57 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593689822042, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -57 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_RootOrder @@ -34279,27 +34289,27 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_SizeDelta.x - value: 600 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_SizeDelta.y - value: 733 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 300 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593699687250, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -366.5 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593729086421, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_Sprite @@ -34315,19 +34325,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593759919820, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593759919820, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593759919820, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 49.333332 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593759919820, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593759919821, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_IsActive @@ -34335,19 +34345,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593804744475, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593804744475, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593804744475, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 448.77536 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593804744475, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593852809512, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_RootOrder @@ -34375,19 +34385,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360593930733148, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593930733148, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593930733148, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593930733148, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -210 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360593986977004, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_IsActive @@ -34399,19 +34409,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360594066920930, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594066920930, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594066920930, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 383.0655 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594066920930, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -57 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594115621021, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: boundaryRect @@ -34419,51 +34429,51 @@ PrefabInstance: objectReference: {fileID: 599549935} - target: {fileID: 3011360594142010806, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594142010806, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594142010806, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594142010806, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594209581039, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594209581039, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594209581039, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 220.03275 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594209581039, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -57 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594274763711, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594274763711, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594274763711, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 49.333332 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594274763711, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594277765519, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y @@ -34483,19 +34493,19 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360594291280551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594291280551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594291280551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594291280551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -370 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594366639349, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x @@ -34511,55 +34521,55 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 3011360594375218644, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594375218644, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594375218644, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 49.333332 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594375218644, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594499795596, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594499795596, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594499795596, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 82.666664 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594499795596, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594507023531, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594507023531, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594507023531, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 82.666664 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3011360594507023531, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: -85 + value: 0 objectReference: {fileID: 0} - target: {fileID: 3215173789656602693, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_SizeDelta.y - value: 733 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4905329732822886045, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: mygameObject @@ -57109,86 +57119,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 602911101} m_CullTransparentMesh: 1 ---- !u!1 &605751577 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 605751578} - - component: {fileID: 605751580} - - component: {fileID: 605751579} - m_Layer: 6 - m_Name: Text - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &605751578 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 605751577} - 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: 1067400303} - m_RootOrder: 0 - 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: 423.7929, y: 272.9289} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &605751579 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 605751577} - 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: 12800000, guid: e3265ab4bf004d28a9537516768c1c75, type: 3} - m_FontSize: 30 - m_FontStyle: 0 - m_BestFit: 0 - m_MinSize: 3 - m_MaxSize: 59 - m_Alignment: 0 - m_AlignByGeometry: 0 - m_RichText: 1 - m_HorizontalOverflow: 0 - m_VerticalOverflow: 0 - m_LineSpacing: 1 - m_Text: "\u897F\u90E8\u725B\u4ED4\u89C4\u5219\uFF1A\n\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219\u89C4\u5219" ---- !u!222 &605751580 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 605751577} - m_CullTransparentMesh: 1 --- !u!1 &606204838 GameObject: m_ObjectHideFlags: 0 @@ -70079,6 +70009,168 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 724827065} m_CullTransparentMesh: 1 +--- !u!1001 &725912345 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 1276678947} + m_Modifications: + - target: {fileID: 5597939931395878172, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 5597939931395878172, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7936264300587005402, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 7936264300587005402, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8255490281776792409, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMax.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchorMin.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8266668362755610848, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.y + value: 0 + 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: 8 + 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: -978 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_SizeDelta.y + value: -1818 + 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: 448 + objectReference: {fileID: 0} + - target: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + propertyPath: m_AnchoredPosition.y + value: 745 + 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} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} +--- !u!224 &725912346 stripped +RectTransform: + m_CorrespondingSourceObject: {fileID: 8266668363385741884, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + m_PrefabInstance: {fileID: 725912345} + m_PrefabAsset: {fileID: 0} +--- !u!1 &725912347 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 8266668363385741885, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + m_PrefabInstance: {fileID: 725912345} + m_PrefabAsset: {fileID: 0} +--- !u!114 &725912348 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 8266668362755610847, guid: c8cee8188671fe34d82f935dd7d24c2d, type: 3} + m_PrefabInstance: {fileID: 725912345} + 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 &727876603 GameObject: m_ObjectHideFlags: 0 @@ -85361,13 +85453,14 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 906771042} + - component: {fileID: 906771043} m_Layer: 5 m_Name: Western_Cowboy m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!224 &906771042 RectTransform: m_ObjectHideFlags: 0 @@ -85389,6 +85482,24 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &906771043 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 906771041} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9163bcd1e1639854aae4695bd6c798d4, type: 3} + m_Name: + m_EditorClassIdentifier: + balance: {fileID: 1957443750} + intro_text: {fileID: 725912348} + bettings: [] + Tourubtn: {fileID: 1677461938} + TimeText: {fileID: 418578358} + returnbtn: {fileID: 29069102} --- !u!1 &908599582 GameObject: m_ObjectHideFlags: 0 @@ -89885,7 +89996,7 @@ MonoBehaviour: m_CaretColor: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1} m_CustomCaretColor: 0 m_SelectionColor: {r: 0.65882355, g: 0.80784315, b: 1, a: 0.7529412} - m_Text: + m_Text: 11 m_CaretBlinkRate: 0.85 m_CaretWidth: 1 m_ReadOnly: 0 @@ -99206,35 +99317,35 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 269.0901 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -43 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 428 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -43 objectReference: {fileID: 0} - target: {fileID: 4284489242025471100, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_IsActive @@ -100478,83 +100589,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1067161157} m_CullTransparentMesh: 1 ---- !u!1 &1067400302 -GameObject: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - serializedVersion: 6 - m_Component: - - component: {fileID: 1067400303} - - component: {fileID: 1067400305} - - component: {fileID: 1067400304} - m_Layer: 6 - m_Name: rulesBg - m_TagString: Untagged - m_Icon: {fileID: 0} - m_NavMeshLayer: 0 - m_StaticEditorFlags: 0 - m_IsActive: 1 ---- !u!224 &1067400303 -RectTransform: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1067400302} - 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: 605751578} - m_Father: {fileID: 282339283} - m_RootOrder: 2 - m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 1, y: 0.5} - m_AnchorMax: {x: 1, y: 0.5} - m_AnchoredPosition: {x: -336, y: -137} - m_SizeDelta: {x: 470, y: 318} - m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &1067400304 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1067400302} - 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: 0, g: 0, b: 0, 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: a3316af5bc37dfd489918ebf6b28ceb9, 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!222 &1067400305 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 1067400302} - m_CullTransparentMesh: 1 --- !u!1 &1068389282 GameObject: m_ObjectHideFlags: 0 @@ -109655,7 +109689,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!4 &1155363692 Transform: m_ObjectHideFlags: 0 @@ -112021,83 +112055,83 @@ PrefabInstance: objectReference: {fileID: 1607805909} - target: {fileID: 2278414502042200660, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502042200660, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502042200660, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 50 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502042200660, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: -109 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502443881119, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502443881119, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502443881119, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 266.89 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502443881119, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: -109 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502666870844, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502666870844, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502666870844, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 483.78 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502666870844, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: -109 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502728653940, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502728653940, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502728653940, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 700.67 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502728653940, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: -109 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502908617433, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502908617433, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502908617433, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.x - value: 917.56 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502908617433, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_AnchoredPosition.y - value: -109 + value: 0 objectReference: {fileID: 0} - target: {fileID: 2278414502976399296, guid: 51fb8da1c1df4d14585a5f5bb1a088b7, type: 3} propertyPath: m_IsActive @@ -120487,6 +120521,7 @@ RectTransform: - {fileID: 1957443749} - {fileID: 29151552} - {fileID: 282339283} + - {fileID: 725912346} m_Father: {fileID: 906771042} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -151361,7 +151396,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 0 + m_IsActive: 1 --- !u!4 &1607805910 Transform: m_ObjectHideFlags: 0 @@ -176142,7 +176177,7 @@ MonoBehaviour: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1872934998} - m_Enabled: 1 + m_Enabled: 0 m_EditorHideFlags: 0 m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Name: @@ -184995,35 +185030,35 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.x - value: 284 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284489241791779464, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.y - value: -43 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMax.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchorMin.y - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.x - value: 428 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284489241841894086, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_AnchoredPosition.y - value: -43 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4284489242025471100, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} propertyPath: m_IsActive @@ -185056,6 +185091,17 @@ RectTransform: m_CorrespondingSourceObject: {fileID: 4284489241738703987, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} m_PrefabInstance: {fileID: 1957443748} m_PrefabAsset: {fileID: 0} +--- !u!114 &1957443750 stripped +MonoBehaviour: + m_CorrespondingSourceObject: {fileID: 4284489241406162018, guid: cb107975b9c5d0340b2b96ff946e1b93, type: 3} + m_PrefabInstance: {fileID: 1957443748} + 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 &1959507340 GameObject: m_ObjectHideFlags: 0 @@ -195453,7 +195499,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3} propertyPath: m_AnchorMin.x @@ -195461,7 +195507,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3} propertyPath: m_SizeDelta.x @@ -195501,11 +195547,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 192 objectReference: {fileID: 0} - target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -102.43335 objectReference: {fileID: 0} - target: {fileID: 8631885451795898585, guid: 638b7f7423db411419568d073208d929, type: 3} propertyPath: m_LocalEulerAnglesHint.x diff --git a/meng_yao/Assets/script/scene_Main/Thebestfishman/WebFishingPK.cs b/meng_yao/Assets/script/scene_Main/Thebestfishman/WebFishingPK.cs index ec3f743e..ba1c3f99 100644 --- a/meng_yao/Assets/script/scene_Main/Thebestfishman/WebFishingPK.cs +++ b/meng_yao/Assets/script/scene_Main/Thebestfishman/WebFishingPK.cs @@ -49,7 +49,7 @@ public class WebFishingPK : MonoBehaviour public Button returnbtn; private async void Awake() { - await ConnectWebSocket(); + ///await ConnectWebSocket(); } private async void Start() { diff --git a/meng_yao/Assets/script/scene_Main/Thebestfishman/WebJoinroom.cs b/meng_yao/Assets/script/scene_Main/Thebestfishman/WebJoinroom.cs index 1953fdb6..a5a425fe 100644 --- a/meng_yao/Assets/script/scene_Main/Thebestfishman/WebJoinroom.cs +++ b/meng_yao/Assets/script/scene_Main/Thebestfishman/WebJoinroom.cs @@ -40,7 +40,7 @@ public class WebJoinroom : MonoBehaviour public Button returnbtn; private async void Awake() { - await ConnectWebSocket(); + // await ConnectWebSocket(); } private async void Start() { @@ -48,7 +48,7 @@ public class WebJoinroom : MonoBehaviour TimeText.gameObject.transform.parent.gameObject.SetActive(false); Debug.Log(PlayerPrefs.GetString("UserToken")); AuthorizationValue = PlayerPrefs.GetString("UserToken"); - + await ConnectWebSocket(); returnbtn.onClick.AddListener(async () => { await SendJsonMessage("{ \"code\": \"FISHING\", \"content\": \"{\\\"action\\\":\\\"LEAVE\\\"}\" }"); diff --git a/meng_yao/Assets/script/scene_Main/Thebestfishman/Westerncowboy.cs b/meng_yao/Assets/script/scene_Main/Thebestfishman/Westerncowboy.cs index d5c47733..04558029 100644 --- a/meng_yao/Assets/script/scene_Main/Thebestfishman/Westerncowboy.cs +++ b/meng_yao/Assets/script/scene_Main/Thebestfishman/Westerncowboy.cs @@ -15,11 +15,13 @@ public class Westerncowboy : MonoBehaviour private ClientWebSocket _webSocket; private const string WebSocketUri = "ws://47.95.201.243:9527/api/ws"; private string AuthorizationValue; - public int count = 0; - //界面元素 + + /// + /// 界面元素 + /// public Text balance; public Text intro_text; - public Text surpluscount_text; + public Text[] bettings; public Button Tourubtn; private float lastCallTime = 0f; float remainingTime = 0f; @@ -33,7 +35,7 @@ public class Westerncowboy : MonoBehaviour public Button returnbtn; private async void Awake() { - await ConnectWebSocket(); + //await ConnectWebSocket(); } private async void Start() { @@ -41,7 +43,7 @@ public class Westerncowboy : MonoBehaviour TimeText.gameObject.transform.parent.gameObject.SetActive(false); Debug.Log(PlayerPrefs.GetString("UserToken")); AuthorizationValue = PlayerPrefs.GetString("UserToken"); - + await ConnectWebSocket(); returnbtn.onClick.AddListener(async () => { @@ -107,47 +109,73 @@ public class Westerncowboy : MonoBehaviour switch (baseResponse.code) { // 解析消息为 Fishresponse 对象 - case "FISHING_INFO": + case "WEST_COWBOY_INFO": // 解析为 FishJoinroomresponse 类型 - FishJoinroomresponse fishResponse = JsonConvert.DeserializeObject(message); + WesternInforesponse fishResponse = JsonConvert.DeserializeObject(message); if (fishResponse?.data != null) { - + Debug.Log(fishResponse.data.balance); + Debug.Log(fishResponse.data.intro_text); + Debug.Log(fishResponse.data.countdown); + Debug.Log(fishResponse.data.countdown_type); + foreach (var item in fishResponse.data.betting_data) + { + Debug.Log(""+item.pos_8); + Debug.Log("" + item.pos_7); + Debug.Log("" + item.pos_6); + Debug.Log("" + item.pos_5); + Debug.Log("" + item.pos_4); + Debug.Log("" + item.pos_3); + Debug.Log("" + item.pos_2); + Debug.Log("" + item.pos_1); + + } } break; - - case "FISHING_BETTING": - // 解析消息为 Fishresponse 对象 - FishBetonresponse fishResponse1 = JsonConvert.DeserializeObject(message); - Promptmgr.Instance.PromptBubble(fishResponse1.message); + //西部牛仔离开房间 + case "WEST_COWBOY_LEAVE": + Promptmgr.Instance.PromptBubble(baseResponse.message); // 检查是否成功反序列化 - if (fishResponse1 != null && fishResponse1.data != null) - { - - } - else - { - Debug.LogWarning("收到的消息无法解析为 Fishresponse 对象。"); - } break; - case "FISHING_FISHING": + // 牛仔投入 + case "WEST_COWBOY_BETTING": - // 解析消息为 Fishresponse 对象 - Fishingresponse fishResponse2 = JsonConvert.DeserializeObject(message); + + WesternBetesponse fishResponse2 = JsonConvert.DeserializeObject(message); //Promptmgr.Instance.PromptBubble(fishResponse2.message); // 检查是否成功反序列化 if (fishResponse2 != null && fishResponse2.data != null) { - + Debug.Log(fishResponse2.data.balance); } else { Debug.LogWarning("收到的消息无法解析为 Fishresponse 对象。"); } break; - case "BALANCE": + case "WEST_COWBOY_COUNTDOWN": + WesternInforesponse fishResponse3 = JsonConvert.DeserializeObject(message); + if (fishResponse3?.data != null) + { + Debug.Log(fishResponse3.data.balance); + Debug.Log(fishResponse3.data.intro_text); + Debug.Log(fishResponse3.data.countdown); + Debug.Log(fishResponse3.data.countdown_type); + foreach (var item in fishResponse3.data.betting_data) + { + Debug.Log("" + item.pos_8); + Debug.Log("" + item.pos_7); + Debug.Log("" + item.pos_6); + Debug.Log("" + item.pos_5); + Debug.Log("" + item.pos_4); + Debug.Log("" + item.pos_3); + Debug.Log("" + item.pos_2); + Debug.Log("" + item.pos_1); + + } + } break; } } @@ -229,10 +257,7 @@ public class Westerncowboy : MonoBehaviour { balance.text = detail.ToString(); } - public void dissurplus(float detail, int p) - { - surpluscount_text.text = (p * (int)detail).ToString() + "金币"; - } + void UpdateCountdownText(float remainingTime) { @@ -267,4 +292,69 @@ public class Westerncowboy : MonoBehaviour lastCallTime = Time.time; } } +} +public class WesternInforesponse +{ + public string code { get; set; } + public string message { get; set; } + public FWesternInfoData data { get; set; } +} + +public class FWesternInfoData +{ + public float balance { get; set; } + + public string intro_text { get; set; } + public int countdown { get; set; } + public int countdown_type { get; set; } + public List betting_data { get; set; } +} + +public class FWesternInfo +{ + public float pos_1; + + public float pos_2; + public float pos_3; + public float pos_4; + public float pos_5; + public float pos_6; + public float pos_7; + public float pos_8; +} +public class WesternBetesponse +{ + public string code { get; set; } + public string message { get; set; } + public WesternBetedata data { get; set; } +} +public class WesternBetedata +{ + public float balance { get; set; } +} +public class WesternCDresponse +{ + public string code { get; set; } + public string message { get; set; } + public FWesternInfoData data { get; set; } +} + +public class FWesternCDData +{ + public int countdown { get; set; } + public int countdown_type { get; set; } + public List betting_data { get; set; } +} + +public class FWesternCD +{ + public float pos_1; + + public float pos_2; + public float pos_3; + public float pos_4; + public float pos_5; + public float pos_6; + public float pos_7; + public float pos_8; } \ No newline at end of file