using System; using UILib; using UnityEngine; using XMainClient.UI.UICommon; namespace XMainClient.UI { internal class XWeddingInviteBehavior : DlgBehaviourBase { public IXUIScrollView ScrollView; public IXUIWrapContent WrapContent; public Transform Tabs; public IXUIButton Close; public IXUICheckBox AllowStranger; public IXUILabel InviteNum; public GameObject ListRedPoint; private void Awake() { Transform transform = base.transform.Find("Bg/BtnAddFriendMiddle"); this.ScrollView = (base.transform.Find("FriendList").GetComponent("XUIScrollView") as IXUIScrollView); this.WrapContent = (base.transform.Find("FriendList/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); this.Tabs = base.transform.Find("Tabs"); this.Close = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton); this.AllowStranger = (base.transform.Find("pp/Normal").GetComponent("XUICheckBox") as IXUICheckBox); this.InviteNum = (base.transform.Find("InviteNum").GetComponent("XUILabel") as IXUILabel); this.ListRedPoint = base.transform.Find("Tabs/item3/Bg/redpoint").gameObject; } } }