summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XChatInputBehaviour.cs31
1 files changed, 31 insertions, 0 deletions
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);
+ }
+ }
+}