From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/UI/ModalDlg2Behaviour.cs | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/ModalDlg2Behaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/ModalDlg2Behaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/ModalDlg2Behaviour.cs b/Client/Assets/Scripts/XMainClient/UI/ModalDlg2Behaviour.cs new file mode 100644 index 00000000..4c40c01a --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/ModalDlg2Behaviour.cs @@ -0,0 +1,25 @@ +using System; +using UILib; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + public class ModalDlg2Behaviour : DlgBehaviourBase + { + public IXUIButton m_Close; + + public IXUILabelSymbol m_Text; + + public IXUIButton m_Select1; + + public IXUIButton m_Select2; + + private void Awake() + { + this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_Text = (base.transform.Find("Bg/Label").GetComponent("XUILabelSymbol") as IXUILabelSymbol); + this.m_Select1 = (base.transform.Find("Bg/Select1").GetComponent("XUIButton") as IXUIButton); + this.m_Select2 = (base.transform.Find("Bg/Select2").GetComponent("XUIButton") as IXUIButton); + } + } +} -- cgit v1.1-26-g67d0