From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/XChatInputBehaviour.cs | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs b/Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs new file mode 100644 index 00000000..7fdf562c --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs @@ -0,0 +1,31 @@ +using System; +using UILib; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class XChatInputBehaviour : DlgBehaviourBase + { + public IXUISprite m_BlackBg; + + public IXUIInput m_TextInput; + + public IXUILabel m_ShowLabel; + + public IXUIButton m_SendBtn; + + public IXUIButton m_btnChatpic; + + public IXUISprite m_sprInput; + + private void Awake() + { + this.m_BlackBg = (base.transform.Find("BlackBg").GetComponent("XUISprite") as IXUISprite); + this.m_TextInput = (base.transform.Find("Bg/TextInput").GetComponent("XUIInput") as IXUIInput); + this.m_sprInput = (base.transform.Find("Bg/TextInput").GetComponent("XUISprite") as IXUISprite); + this.m_ShowLabel = (base.transform.Find("Bg/TextInput/ChatText").GetComponent("XUILabel") as IXUILabel); + this.m_SendBtn = (base.transform.Find("Bg/Send").GetComponent("XUIButton") as IXUIButton); + this.m_btnChatpic = (base.transform.Find("Bg/chatpic").GetComponent("XUIButton") as IXUIButton); + } + } +} -- cgit v1.1-26-g67d0