summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XSystemTipBehaviour.cs
blob: b2ffef65f379a262de7736005cbed0168ec9b26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XSystemTipBehaviour : DlgBehaviourBase
	{
		public XUIPool m_TipPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		private void Awake()
		{
			Transform transform = base.transform.Find("Bg/TipTpl");
			this.m_TipPool.SetupPool(transform.parent.gameObject, transform.gameObject, 10u, false);
		}
	}
}