From 0264d1f162f62b448946726587557261370348b6 Mon Sep 17 00:00:00 2001 From: wulongxiao <2545507770@qq.com> Date: Wed, 18 Dec 2024 20:49:42 +0800 Subject: [PATCH] 2.1 --- meng_yao/Assets/Scenes/scene_Main.unity | 50 ++++++++++--------- .../Assets/script/TanChuang/HeadTanchuang.cs | 2 +- 2 files changed, 28 insertions(+), 24 deletions(-) diff --git a/meng_yao/Assets/Scenes/scene_Main.unity b/meng_yao/Assets/Scenes/scene_Main.unity index 4d687fa2a..1cc4f53b1 100644 --- a/meng_yao/Assets/Scenes/scene_Main.unity +++ b/meng_yao/Assets/Scenes/scene_Main.unity @@ -27556,99 +27556,103 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 1745005861961296864, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005861961296864, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005861961296864, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 284 objectReference: {fileID: 0} - target: {fileID: 1745005861961296864, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -134 objectReference: {fileID: 0} - target: {fileID: 1745005862092927511, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005862092927511, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005862092927511, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 428 objectReference: {fileID: 0} - target: {fileID: 1745005862092927511, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -43 objectReference: {fileID: 0} - target: {fileID: 1745005862566341466, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005862566341466, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005862566341466, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 284 objectReference: {fileID: 0} - target: {fileID: 1745005862566341466, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -43 objectReference: {fileID: 0} - target: {fileID: 1745005862583204628, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005862583204628, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005862583204628, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 140 objectReference: {fileID: 0} - target: {fileID: 1745005862583204628, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y + value: -43 + objectReference: {fileID: 0} + - target: {fileID: 1745005862614175136, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} + propertyPath: m_IsActive value: 0 objectReference: {fileID: 0} - target: {fileID: 1745005862934533551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005862934533551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005862934533551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 428 objectReference: {fileID: 0} - target: {fileID: 1745005862934533551, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -43 objectReference: {fileID: 0} - target: {fileID: 1745005863352503744, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMax.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005863352503744, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchorMin.y - value: 0 + value: 1 objectReference: {fileID: 0} - target: {fileID: 1745005863352503744, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.x - value: 0 + value: 140 objectReference: {fileID: 0} - target: {fileID: 1745005863352503744, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_AnchoredPosition.y - value: 0 + value: -43 objectReference: {fileID: 0} - target: {fileID: 2186939255280341675, guid: a8cc81ed2c5736a46a14628d8d489ac4, type: 3} propertyPath: m_OnClick.m_PersistentCalls.m_Calls.Array.data[0].m_Target diff --git a/meng_yao/Assets/script/TanChuang/HeadTanchuang.cs b/meng_yao/Assets/script/TanChuang/HeadTanchuang.cs index 45aeff89e..fa9d0d8ad 100644 --- a/meng_yao/Assets/script/TanChuang/HeadTanchuang.cs +++ b/meng_yao/Assets/script/TanChuang/HeadTanchuang.cs @@ -44,7 +44,7 @@ public class HeadTanchuang : MonoBehaviour async void UpdateShow() { - await Task.Delay(100); + this.Name.text = _AssetsPanel._PlayerInfoData.nickname.ToString(); this.Id.text = _AssetsPanel._PlayerInfoData.uid.ToString();