From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/PrerogativeDlgBehaviour.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/PrerogativeDlgBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/PrerogativeDlgBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/PrerogativeDlgBehaviour.cs b/Client/Assets/Scripts/XMainClient/PrerogativeDlgBehaviour.cs new file mode 100644 index 00000000..85c3c4f0 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/PrerogativeDlgBehaviour.cs @@ -0,0 +1,29 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class PrerogativeDlgBehaviour : DlgBehaviourBase + { + public IXUIButton m_Close; + + public IXUIButton _ruleBtn; + + public IXUIButton _shopBtn; + + public Transform _setting; + + public IXUILabel _desc; + + private void Awake() + { + this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this._ruleBtn = (base.transform.Find("Bg/RuleBtn").GetComponent("XUIButton") as IXUIButton); + this._shopBtn = (base.transform.Find("Bg/ShopBtn").GetComponent("XUIButton") as IXUIButton); + this._setting = base.transform.Find("Bg/Setting"); + this._desc = (base.transform.Find("Bg/Intro").GetComponent("XUILabel") as IXUILabel); + } + } +} -- cgit v1.1-26-g67d0