using System; using UILib; using UnityEngine; using XMainClient.UI.UICommon; using XUtliPoolLib; namespace XMainClient.UI { internal class ActivityGoddessTrialBehaviour : DlgBehaviourBase { public IXUILabel m_canJoinTimeslab; public IXUILabel m_NeedTimesLab; public IXUIButton m_goBattleBtn; public IXUIButton m_closedBtn; public IXUIButton m_getBtn; public IXUIButton m_shopBtn; public IXUIButton m_Help; public GameObject m_noTimesGo; public GameObject m_hadGetGo; public XUIPool m_ItemPool = new XUIPool(XSingleton.singleton.m_uiTool); private void Awake() { this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton); Transform transform = base.transform.Find("Bg"); this.m_closedBtn = (transform.Find("Close").GetComponent("XUIButton") as IXUIButton); this.m_goBattleBtn = (transform.Find("GoBattle").GetComponent("XUIButton") as IXUIButton); this.m_getBtn = (transform.Find("GetRewardBtn").GetComponent("XUIButton") as IXUIButton); this.m_shopBtn = (transform.Find("BtnShop").GetComponent("XUIButton") as IXUIButton); this.m_canJoinTimeslab = (transform.Find("times").GetComponent("XUILabel") as IXUILabel); this.m_NeedTimesLab = (transform.Find("Reward/NeedTimes").GetComponent("XUILabel") as IXUILabel); this.m_noTimesGo = transform.Find("NoJoinTimesTips").gameObject; this.m_hadGetGo = transform.Find("HadGet").gameObject; transform = transform.Find("Reward/Item"); this.m_ItemPool.SetupPool(transform.gameObject, transform.Find("Item").gameObject, 2u, true); this.m_canJoinTimeslab.SetText(""); this.m_NeedTimesLab.SetText(""); } } }