From bcd89311f760b1cd3e1237f37030d64383adadf8 Mon Sep 17 00:00:00 2001 From: LMZ <1477077658@qq.com> Date: Thu, 12 Dec 2024 17:51:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?UI=E9=80=BB=E8=BE=91=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E7=89=88=EF=BC=88=E8=A2=AB=E5=B0=8F=E8=83=A1=E5=8D=A1=E8=84=96?= =?UTF-8?q?=E5=AD=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Assets/Scenes/LL_Command_Action_1.unity | 22 +++++++++++++++++++ .../Assets/Script/UI/ZZZZZZ/ZZUIManager.cs | 14 +++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/xiaofang/Assets/Scenes/LL_Command_Action_1.unity b/xiaofang/Assets/Scenes/LL_Command_Action_1.unity index f2a2cb14..73d25a30 100644 --- a/xiaofang/Assets/Scenes/LL_Command_Action_1.unity +++ b/xiaofang/Assets/Scenes/LL_Command_Action_1.unity @@ -212,6 +212,11 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!1 &454864855 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1986279549150508378, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + m_PrefabInstance: {fileID: 1986279549016710772} + m_PrefabAsset: {fileID: 0} --- !u!114 &852064453 stripped MonoBehaviour: m_CorrespondingSourceObject: {fileID: 8544101838369953974, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} @@ -445,6 +450,11 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &2138670361 stripped +GameObject: + m_CorrespondingSourceObject: {fileID: 1986279548236674885, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + m_PrefabInstance: {fileID: 1986279549016710772} + m_PrefabAsset: {fileID: 0} --- !u!1001 &1986279549016710772 PrefabInstance: m_ObjectHideFlags: 0 @@ -484,6 +494,14 @@ PrefabInstance: propertyPath: NPCName value: objectReference: {fileID: 198436690} + - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: FreePanel + value: + objectReference: {fileID: 454864855} + - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: Close1Panel + value: + objectReference: {fileID: 2138670361} - target: {fileID: 919949400, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: Situation_Tip_1 value: @@ -802,6 +820,10 @@ PrefabInstance: propertyPath: m_IsActive value: 1 objectReference: {fileID: 0} + - target: {fileID: 1986279549150508378, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} - target: {fileID: 1986279549173157411, guid: 807d6c3842cc1714caf2b4497e4daed7, type: 3} propertyPath: m_Pivot.x value: 0 diff --git a/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs b/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs index 092addf3..dddf124f 100644 --- a/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs +++ b/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs @@ -161,6 +161,8 @@ public class ZZUIManager : MonoBehaviour //两个叉叉 public Button Close1; public Button Close2; + public GameObject Close1Panel; + public GameObject FreePanel; /// /// 楼梯口 @@ -340,6 +342,7 @@ public class ZZUIManager : MonoBehaviour } private void Start() { + Frist(); initialized(); //动画位移位置数据 @@ -430,6 +433,7 @@ public class ZZUIManager : MonoBehaviour Flee.onClick.AddListener(() => { DiaLogBox2.SetActive(true); + Close1Panel.SetActive(true); }); Close1.onClick.AddListener(() => { Close(); }); @@ -550,7 +554,15 @@ public class ZZUIManager : MonoBehaviour yield return new WaitForSeconds(0.3f); } } - + /// + /// 第一次弹出楼梯队形 + /// + public void Frist() + { + DiaLogBox2?.SetActive(true); + Close1Panel.SetActive(false); + FreePanel.SetActive(true); + } /// /// 创建疏散情况内容 From 3a3ff0429a13df0af2a478e1457cae7ef805b0b0 Mon Sep 17 00:00:00 2001 From: LMZ <1477077658@qq.com> Date: Thu, 12 Dec 2024 17:55:05 +0800 Subject: [PATCH 2/2] =?UTF-8?q?UI=E9=80=BB=E8=BE=91=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E7=89=88=EF=BC=8C=E8=A2=AB=E5=95=8A=E8=83=A1=EF=BC=88=E5=8D=A1?= =?UTF-8?q?=E8=84=96=E5=AD=90=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs | 1 + xiaofang/Assets/UnityCommon | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs b/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs index dddf124f..3efba79c 100644 --- a/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs +++ b/xiaofang/Assets/Script/UI/ZZZZZZ/ZZUIManager.cs @@ -561,6 +561,7 @@ public class ZZUIManager : MonoBehaviour { DiaLogBox2?.SetActive(true); Close1Panel.SetActive(false); + FreePanel.SetActive(true); } diff --git a/xiaofang/Assets/UnityCommon b/xiaofang/Assets/UnityCommon index 2e42b278..0385375c 160000 --- a/xiaofang/Assets/UnityCommon +++ b/xiaofang/Assets/UnityCommon @@ -1 +1 @@ -Subproject commit 2e42b278d4c6ac9e045925dcc6e04896a19cbfd8 +Subproject commit 0385375c1818fc57f42407a6c5301a26ded3a19a