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/XFlowerReplyBehavior.cs | 47 ++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs b/Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs new file mode 100644 index 00000000..0641ab03 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class XFlowerReplyBehavior : DlgBehaviourBase + { + public IXUILabel m_SenderName = null; + + public IXUILabel m_SenderCount = null; + + public IXUILabel m_FlowerName = null; + + public IXUILabel m_ThxContent = null; + + public IXUISprite m_Close = null; + + public IXUIButton m_Voice = null; + + public IXUIButton m_QuickThx = null; + + public Transform m_SpeakPanel = null; + + public List m_ReplayBgList = new List(); + + private void Awake() + { + this.m_SpeakPanel = base.transform.Find("Bg/SpeakPanel"); + this.m_SenderName = (base.transform.Find("Bg/SenderName").GetComponent("XUILabel") as IXUILabel); + this.m_SenderCount = (base.transform.Find("Bg/SendCount").GetComponent("XUILabel") as IXUILabel); + this.m_FlowerName = (base.transform.Find("Bg/FlowerName").GetComponent("XUILabel") as IXUILabel); + this.m_QuickThx = (base.transform.Find("Bg/BtnTHx").GetComponent("XUIButton") as IXUIButton); + this.m_Voice = (base.transform.Find("Bg/speak").GetComponent("XUIButton") as IXUIButton); + this.m_Close = (base.transform.Find("InputBlocker").GetComponent("XUISprite") as IXUISprite); + this.m_ThxContent = (base.transform.Find("Bg/ThxContent").GetComponent("XUILabel") as IXUILabel); + GameObject gameObject = base.transform.Find("Bg/Bg2").gameObject; + GameObject gameObject2 = base.transform.Find("Bg/Bg2_Advance").gameObject; + GameObject gameObject3 = base.transform.Find("Bg/Bg2_Elite").gameObject; + this.m_ReplayBgList.Add(gameObject); + this.m_ReplayBgList.Add(gameObject2); + this.m_ReplayBgList.Add(gameObject3); + } + } +} -- cgit v1.1-26-g67d0