summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/ArtifactTooltipDlgBehaviour.cs
blob: 1cf66b2a2d81c4220883acffb10db6f6622a3991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using UnityEngine;
using XUtliPoolLib;

namespace XMainClient.UI
{
	internal class ArtifactTooltipDlgBehaviour : TooltipDlgBehaviour
	{
		public XUIPool m_DesFramePool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		protected override void Awake()
		{
			GameObject gameObject = base.transform.Find("Bg/Bg").gameObject;
			Transform transform = gameObject.transform.Find("ToolTip/ScrollPanel/BasicAttr/DesTpl");
			bool flag = transform != null;
			if (flag)
			{
				this.m_DesFramePool.SetupPool(gameObject, transform.gameObject, 2u, false);
			}
			base.Awake();
		}
	}
}