From cdaadb81266d1c2c4c899df6edb63045015edcd1 Mon Sep 17 00:00:00 2001 From: liuliang <597380732@qq.com> Date: Mon, 6 Jan 2025 17:59:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=96=E7=9F=BF=E5=8A=A8=E7=94=BB=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- meng_yao/Assets/Scenes/scene_Main.unity | 362 +++++++++--------- .../script/scene_jinshakuang/minerControl.cs | 27 +- 2 files changed, 196 insertions(+), 193 deletions(-) diff --git a/meng_yao/Assets/Scenes/scene_Main.unity b/meng_yao/Assets/Scenes/scene_Main.unity index 99a06ee8..5450e553 100644 --- a/meng_yao/Assets/Scenes/scene_Main.unity +++ b/meng_yao/Assets/Scenes/scene_Main.unity @@ -33370,19 +33370,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 @@ -33394,99 +33394,99 @@ 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: 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 @@ -33606,35 +33606,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 @@ -33654,67 +33654,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 @@ -33746,19 +33746,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 @@ -33766,35 +33766,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 @@ -33802,35 +33802,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 @@ -33854,19 +33854,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 @@ -33886,35 +33886,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 @@ -33938,19 +33938,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 @@ -33994,19 +33994,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 @@ -34014,19 +34014,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 @@ -34054,19 +34054,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 @@ -34078,19 +34078,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 @@ -34098,51 +34098,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 @@ -34162,19 +34162,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 @@ -34190,55 +34190,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 @@ -63640,11 +63640,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 0 + value: 34 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 0 + value: 36 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -63712,11 +63712,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 512.66626 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -117.43155 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -80961,7 +80961,7 @@ RectTransform: m_AnchorMin: {x: 0, y: 1} m_AnchorMax: {x: 1, y: 1} m_AnchoredPosition: {x: 0.0001610477, y: 0} - m_SizeDelta: {x: 0, y: 0} + m_SizeDelta: {x: -28.190796, y: 355} m_Pivot: {x: 0, y: 1} --- !u!114 &849372741 MonoBehaviour: @@ -81567,11 +81567,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 0 + value: 34 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 0 + value: 36 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -81639,11 +81639,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 922.79926 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -117.43155 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -87795,11 +87795,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 0 + value: 34 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 0 + value: 36 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -87867,11 +87867,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 102.53325 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -117.43155 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -109526,7 +109526,7 @@ RectTransform: m_AnchorMin: {x: 0.5, y: 1} m_AnchorMax: {x: 0.5, y: 1} m_AnchoredPosition: {x: 0, y: -827} - m_SizeDelta: {x: 0, y: 1362.083} + m_SizeDelta: {x: 1025.3325, y: 1362.083} m_Pivot: {x: 0.5, y: 0.5} --- !u!114 &1161487649 MonoBehaviour: @@ -111553,83 +111553,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 @@ -141368,7 +141368,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &1516668808 RectTransform: m_ObjectHideFlags: 0 @@ -149925,7 +149925,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 @@ -164509,11 +164509,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 0 + value: 34 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 0 + value: 36 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -164581,11 +164581,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 717.7327 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -117.43155 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -203035,11 +203035,11 @@ PrefabInstance: m_Modifications: - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.x - value: 0 + value: 34 objectReference: {fileID: 0} - target: {fileID: 4804007836810955060, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_SizeDelta.y - value: 0 + value: 36 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_Pivot.x @@ -203107,11 +203107,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 307.59973 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -117.43155 objectReference: {fileID: 0} - target: {fileID: 4804007837237946664, guid: 15168d57c92ea41448ae50cc637cbe00, type: 3} propertyPath: m_LocalEulerAnglesHint.x @@ -213254,7 +213254,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchorMin.x @@ -213262,7 +213262,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_SizeDelta.x @@ -213302,11 +213302,11 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 117 objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -177.5 objectReference: {fileID: 0} - target: {fileID: 7733483716990088035, guid: 29282fea6a62f7f4fb4d89d7e96dde54, type: 3} propertyPath: m_LocalEulerAnglesHint.x diff --git a/meng_yao/Assets/script/scene_jinshakuang/minerControl.cs b/meng_yao/Assets/script/scene_jinshakuang/minerControl.cs index 4a40f711..0f25d2ff 100644 --- a/meng_yao/Assets/script/scene_jinshakuang/minerControl.cs +++ b/meng_yao/Assets/script/scene_jinshakuang/minerControl.cs @@ -59,7 +59,7 @@ public class minerControl : MonoBehaviour } - public void init(List path,float pathsNeedTimer,float fishingNeedTimer,float restTimer,Transform startPos,Transform endPos) + public async void init(List path,float pathsNeedTimer,float fishingNeedTimer,float restTimer,Transform startPos,Transform endPos) { this.paths = path; this.pathsNeedTimer = pathsNeedTimer+Random.Range(0,10); @@ -68,18 +68,21 @@ public class minerControl : MonoBehaviour this.startPos = startPos; this.endPos = endPos; - - if (Vector3.Distance(this.transform.position, startPos.position) <= 0.01f) - { - //Debug.LogWarning("11111111111111"); - MoveToFishingPos(); - } - else - { - // Debug.LogWarning("22222222222222222"); - dig(); - } + // 等待移动完成 + await MoveToEndPositionAsync(endPos.position); + + // 挖矿操作 + dig(); + } + + private async System.Threading.Tasks.Task MoveToEndPositionAsync(Vector3 targetPosition) + { + // 使用 DOTween 进行移动,并等待动画完成 + Tweener tweener = transform.DOMove(targetPosition, 3f); + + // 等待动画完成 + await tweener.AsyncWaitForCompletion(); } public void SetState(minerState newState)