From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/ModalThreeDlgBehaviour.cs | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/ModalThreeDlgBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/ModalThreeDlgBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/ModalThreeDlgBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/ModalThreeDlgBehaviour.cs new file mode 100644 index 00000000..c3180f51 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/ModalThreeDlgBehaviour.cs @@ -0,0 +1,36 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + public class ModalThreeDlgBehaviour : DlgBehaviourBase + { + public IXUIButton m_Button1; + + public IXUIButton m_Button2; + + public IXUIButton m_Button3; + + public IXUIButton m_CloseButton; + + public IXUIPanel m_Panel; + + public IXUILabel m_Label = null; + + public IXUILabelSymbol m_LabelSymbol = null; + + private void Awake() + { + this.m_Button1 = (base.transform.Find("Bg/choice1").GetComponent("XUIButton") as IXUIButton); + this.m_Button2 = (base.transform.Find("Bg/choice2").GetComponent("XUIButton") as IXUIButton); + this.m_Button3 = (base.transform.Find("Bg/choice3").GetComponent("XUIButton") as IXUIButton); + this.m_CloseButton = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_Panel = (base.transform.GetComponent("XUIPanel") as IXUIPanel); + Transform transform = base.transform.Find("Bg/Info"); + this.m_Label = (transform.GetComponent("XUILabel") as IXUILabel); + this.m_LabelSymbol = (transform.GetComponent("XUILabelSymbol") as IXUILabelSymbol); + } + } +} -- cgit v1.1-26-g67d0