From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/XChatMaqueeBehaviour.cs | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XChatMaqueeBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/XChatMaqueeBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/XChatMaqueeBehaviour.cs b/Client/Assets/Scripts/XMainClient/XChatMaqueeBehaviour.cs new file mode 100644 index 00000000..a08a2c9a --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XChatMaqueeBehaviour.cs @@ -0,0 +1,25 @@ +using System; +using UILib; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class XChatMaqueeBehaviour : DlgBehaviourBase + { + public IXUILabel m_MaqueeText; + + public IXUILabelSymbol m_MaqueeTextSymbol; + + public IXUISprite m_MaqueeBoard; + + public IXUITweenTool m_MaqueeTween; + + private void Awake() + { + this.m_MaqueeTextSymbol = (base.transform.Find("Bg/content").GetComponent("XUILabelSymbol") as IXUILabelSymbol); + this.m_MaqueeText = (base.transform.Find("Bg/content").GetComponent("XUILabel") as IXUILabel); + this.m_MaqueeBoard = (base.transform.Find("Notice").GetComponent("XUISprite") as IXUISprite); + this.m_MaqueeTween = (base.transform.Find("Notice").GetComponent("XUIPlayTween") as IXUITweenTool); + } + } +} -- cgit v1.1-26-g67d0