using System; using UILib; using UnityEngine; using XMainClient.UI.UICommon; using XUtliPoolLib; namespace XMainClient { internal class XOnlineRewardBehaviour : DlgBehaviourBase { public IXUIButton m_Close; public IXUIButton m_GetReward; public IXUILabel m_TimeTip; public IXUILabel m_LeftTime; public IXUILabel m_GetRewardLabel; public XUIPool m_ItemPool = new XUIPool(XSingleton.singleton.m_uiTool); public IXUITweenTool m_BgTween; private void Awake() { Transform transform = base.transform.Find("Bg/ItemTpl"); this.m_ItemPool.SetupPool(transform.parent.gameObject, transform.gameObject, 2u, false); this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); this.m_GetReward = (base.transform.Find("Bg/GetReward").GetComponent("XUIButton") as IXUIButton); this.m_TimeTip = (base.transform.Find("Bg/TimeTip").GetComponent("XUILabel") as IXUILabel); this.m_LeftTime = (base.transform.Find("Bg/LeftTime").GetComponent("XUILabel") as IXUILabel); this.m_GetRewardLabel = (base.transform.Find("Bg/GetReward/Text").GetComponent("XUILabel") as IXUILabel); this.m_BgTween = (base.transform.Find("Bg").GetComponent("XUIPlayTween") as IXUITweenTool); } } }