using System; using UILib; using UnityEngine; using XMainClient.UI.UICommon; using XUtliPoolLib; namespace XMainClient.UI { internal class SevenLoginBehaviour : DlgBehaviourBase { public IXUIButton m_Close; public IXUILabel m_LoginDayLabel; public IXUIScrollView m_WrapContentScrollView; public Transform m_WrapContentTemp; public Transform m_WrapContentRewardTemp; public XUIPool m_RewardPool = new XUIPool(XSingleton.singleton.m_uiTool); public IXUILabel m_MessageLabel; public IXUITexture m_shardTexture; public IXUITexture m_dialogTexture; public Transform m_dialogTransform; public IXUIButton m_dialogClose; private void Awake() { this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); this.m_LoginDayLabel = (base.transform.Find("Bg/LoginDay").GetComponent("XUILabel") as IXUILabel); this.m_WrapContentScrollView = (base.transform.Find("Bg/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView); this.m_WrapContentTemp = base.transform.Find("Bg/ScrollView/ItemTpl"); this.m_WrapContentTemp.gameObject.SetActive(false); this.m_WrapContentRewardTemp = base.transform.Find("Bg/RewardTemp"); this.m_RewardPool.SetupPool(this.m_WrapContentRewardTemp.parent.gameObject, this.m_WrapContentRewardTemp.gameObject, 30u, false); this.m_WrapContentRewardTemp.gameObject.SetActive(false); this.m_MessageLabel = (base.transform.Find("Bg/Message").GetComponent("XUILabel") as IXUILabel); Transform transform = base.transform.Find("Bg/Show"); this.m_shardTexture = (base.transform.Find("Bg/Show/Texture").GetComponent("XUITexture") as IXUITexture); this.m_dialogClose = (base.transform.Find("Bg/Dialog/Close").GetComponent("XUIButton") as IXUIButton); this.m_dialogTexture = (base.transform.Find("Bg/Dialog/Texture").GetComponent("XUITexture") as IXUITexture); this.m_dialogTransform = base.transform.Find("Bg/Dialog"); } } }