From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/UI/XWeddingCostBehavior.cs | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/XWeddingCostBehavior.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/XWeddingCostBehavior.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/XWeddingCostBehavior.cs b/Client/Assets/Scripts/XMainClient/UI/XWeddingCostBehavior.cs new file mode 100644 index 00000000..f842114e --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XWeddingCostBehavior.cs @@ -0,0 +1,41 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class XWeddingCostBehavior : DlgBehaviourBase + { + public GameObject DrawItem = null; + + public IXUILabel TitleLabel = null; + + public IXUILabel SecondTitle = null; + + public IXUILabel TipLabel = null; + + public IXUILabel CostTip = null; + + public IXUILabel NumLabel = null; + + public IXUIButton Close; + + public IXUIButton OkBtn; + + public IXUIButton Cancel; + + private void Awake() + { + this.DrawItem = base.transform.Find("ItemTpl").gameObject; + this.TipLabel = (base.transform.Find("Tip").GetComponent("XUILabel") as IXUILabel); + this.SecondTitle = (base.transform.Find("Bg/Tip").GetComponent("XUILabel") as IXUILabel); + this.TitleLabel = (base.transform.Find("Title").GetComponent("XUILabel") as IXUILabel); + this.CostTip = (base.transform.Find("CostTip").GetComponent("XUILabel") as IXUILabel); + this.NumLabel = (base.transform.Find("TipNum").GetComponent("XUILabel") as IXUILabel); + this.Close = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton); + this.OkBtn = (base.transform.Find("SureBtn").GetComponent("XUIButton") as IXUIButton); + this.Cancel = (base.transform.Find("Cancel").GetComponent("XUIButton") as IXUIButton); + } + } +} -- cgit v1.1-26-g67d0