From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/RandomGiftBehaviour.cs | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs b/Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs new file mode 100644 index 00000000..5a19dab7 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs @@ -0,0 +1,50 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class RandomGiftBehaviour : DlgBehaviourBase + { + public IXUIButton m_Close; + + public IXUIButton m_Share; + + public Transform m_WX; + + public IXUIButton m_WXFriend; + + public IXUIButton m_WXTimeline; + + public Transform m_QQ; + + public IXUIButton m_QQFriend; + + public IXUIButton m_QQZone; + + public IXUILabel m_Title; + + public IXUILabel m_Description; + + public Transform m_BoxQQ; + + public Transform m_BoxWX; + + private void Awake() + { + this.m_Close = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton); + this.m_Share = (base.transform.Find("Share").GetComponent("XUIButton") as IXUIButton); + this.m_WX = base.transform.Find("WX"); + this.m_WXFriend = (this.m_WX.Find("WXFriend").GetComponent("XUIButton") as IXUIButton); + this.m_WXTimeline = (this.m_WX.Find("WXTimeline").GetComponent("XUIButton") as IXUIButton); + this.m_QQ = base.transform.Find("QQ"); + this.m_QQFriend = (this.m_QQ.Find("QQFriend").GetComponent("XUIButton") as IXUIButton); + this.m_QQZone = (this.m_QQ.Find("QQZone").GetComponent("XUIButton") as IXUIButton); + this.m_Title = (base.transform.Find("Title").GetComponent("XUILabel") as IXUILabel); + this.m_Description = (base.transform.Find("Description").GetComponent("XUILabel") as IXUILabel); + this.m_BoxQQ = base.transform.Find("BoxQQ"); + this.m_BoxWX = base.transform.Find("BoxWX"); + } + } +} -- cgit v1.1-26-g67d0