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