using System; using UILib; using UnityEngine; using XMainClient.UI.UICommon; namespace XMainClient.UI { internal class XActivityInviteBehavior : DlgBehaviourBase { public IXUIButton AddFriendBtn; public IXUIButton JoinGuildBtn; public IXUIScrollView ScrollView; public IXUIWrapContent WrapContent; public Transform Tabs; public IXUISprite Close; public Transform EmptyFlag; public IXUILabel FriendText; private void Awake() { Transform transform = base.transform.Find("Bg/BtnAddFriendMiddle"); this.AddFriendBtn = (transform.GetComponent("XUIButton") as IXUIButton); this.JoinGuildBtn = (base.transform.Find("Bg/BtnJoinGuild").GetComponent("XUIButton") as IXUIButton); this.ScrollView = (base.transform.Find("Bg/Panel").GetComponent("XUIScrollView") as IXUIScrollView); this.WrapContent = (base.transform.Find("Bg/Panel/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); this.Tabs = base.transform.Find("Tabs"); this.Close = (base.transform.Find("Bg/Close").GetComponent("XUISprite") as IXUISprite); this.EmptyFlag = base.transform.Find("Bg/Empty"); this.FriendText = (base.transform.Find("Bg/Text").GetComponent("XUILabel") as IXUILabel); } } }