summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Guild/XGuildBoonBehaviour.cs
blob: d365e40c7e308c64ea11600605bf50b112504571 (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
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XGuildBoonBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_Close;

		public XUIPool m_BoonPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		public IXUIScrollView m_ScrollView;

		private void Awake()
		{
			Transform transform = base.transform.Find("Bg/Panel/BoonTpl");
			this.m_BoonPool.SetupPool(transform.parent.gameObject, transform.gameObject, 3u, false);
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_ScrollView = (base.transform.Find("Bg/Panel").GetComponent("XUIScrollView") as IXUIScrollView);
		}
	}
}