summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/ItemUseListDlgBehaviour.cs
blob: bdb166dbb2c1770a13cad935059ca9b148ff3b05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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);
		}
	}
}