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/SystemHelpBehaviour.cs | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/SystemHelpBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/SystemHelpBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/SystemHelpBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/SystemHelpBehaviour.cs new file mode 100644 index 00000000..c6273a6f --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/SystemHelpBehaviour.cs @@ -0,0 +1,42 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + public class SystemHelpBehaviour : DlgBehaviourBase + { + public IXUILabel m_Label = null; + + public IXUILabelSymbol m_LabelSymbol = null; + + public IXUILabel m_Title = null; + + public IXUILabelSymbol m_TitleSymbol = null; + + public IXUIButton m_OKButton = null; + + public IXUISprite m_Grey = null; + + public IXUITweenTool m_PlayTween = null; + + public IXUIPanel m_Panel = null; + + private void Awake() + { + Transform transform = base.transform.Find("Bg/Label"); + this.m_Label = (transform.GetComponent("XUILabel") as IXUILabel); + this.m_LabelSymbol = (transform.GetComponent("XUILabelSymbol") as IXUILabelSymbol); + Transform transform2 = base.transform.Find("Bg/Title"); + this.m_Title = (transform2.GetComponent("XUILabel") as IXUILabel); + this.m_TitleSymbol = (transform2.GetComponent("XUILabelSymbol") as IXUILabelSymbol); + Transform transform3 = base.transform.Find("Bg/OK"); + this.m_OKButton = (transform3.GetComponent("XUIButton") as IXUIButton); + this.m_Grey = (base.transform.Find("Grey").GetComponent("XUISprite") as IXUISprite); + Transform transform4 = base.transform.Find("Bg"); + this.m_PlayTween = (transform4.GetComponent("XUIPlayTween") as IXUITweenTool); + this.m_Panel = (base.transform.GetComponent("XUIPanel") as IXUIPanel); + } + } +} -- cgit v1.1-26-g67d0