From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/ItemUseListDlgBehaviour.cs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/ItemUseListDlgBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/ItemUseListDlgBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/ItemUseListDlgBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/ItemUseListDlgBehaviour.cs new file mode 100644 index 00000000..bdb166db --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/ItemUseListDlgBehaviour.cs @@ -0,0 +1,34 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class ItemUseListDlgBehaviour : DlgBehaviourBase + { + public IXUILabel m_Title = null; + + public IXUISprite m_Bg = null; + + public IXUISprite m_Close = null; + + public IXUIWrapContent m_WrapContent; + + public IXUIScrollView m_ScrollView; + + private void Awake() + { + Transform transform = base.transform.Find("Bg/Title/Label"); + this.m_Title = (transform.GetComponent("XUILabel") as IXUILabel); + transform = base.transform.Find("Bg/Close"); + this.m_Close = (transform.GetComponent("XUISprite") as IXUISprite); + transform = base.transform.Find("Bg"); + this.m_Bg = (transform.GetComponent("XUISprite") as IXUISprite); + transform = base.transform.Find("Bg/ScrollView"); + this.m_ScrollView = (transform.GetComponent("XUIScrollView") as IXUIScrollView); + transform = base.transform.Find("Bg/ScrollView/WrapContent"); + this.m_WrapContent = (transform.GetComponent("XUIWrapContent") as IXUIWrapContent); + } + } +} -- cgit v1.1-26-g67d0