From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/Guild/XGuildRedPacketBehaviour.cs | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/Guild/XGuildRedPacketBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/Guild/XGuildRedPacketBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/Guild/XGuildRedPacketBehaviour.cs b/Client/Assets/Scripts/XMainClient/Guild/XGuildRedPacketBehaviour.cs new file mode 100644 index 00000000..6315ecaa --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/Guild/XGuildRedPacketBehaviour.cs @@ -0,0 +1,32 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class XGuildRedPacketBehaviour : DlgBehaviourBase + { + public Transform m_root; + + public IXUIButton m_Close; + + public IXUIButton m_Help; + + public IXUIScrollView m_ScrollView; + + public IXUIWrapContent m_WrapContent; + + public GameObject m_Empty; + + private void Awake() + { + this.m_root = base.transform.Find("Bg"); + this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton); + this.m_ScrollView = (base.transform.Find("Bg/Panel").GetComponent("XUIScrollView") as IXUIScrollView); + this.m_WrapContent = (base.transform.Find("Bg/Panel/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); + this.m_Empty = base.transform.Find("Bg/Empty").gameObject; + } + } +} -- cgit v1.1-26-g67d0