From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/XWeddingInviteBehavior.cs | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/XWeddingInviteBehavior.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/XWeddingInviteBehavior.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/XWeddingInviteBehavior.cs b/Client/Assets/Scripts/XMainClient/UI/XWeddingInviteBehavior.cs new file mode 100644 index 00000000..f8faabb7 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XWeddingInviteBehavior.cs @@ -0,0 +1,36 @@ +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; + } + } +} -- cgit v1.1-26-g67d0