blob: be905db9dd64bcdf54bbb1051af34e45029a705e (
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 System.Collections.Generic;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient.UI
{
internal class TitanBarBehaviour : DlgBehaviourBase
{
public List<XTitanItem> m_ItemList = new List<XTitanItem>();
public List<GameObject> m_ItemGoList = new List<GameObject>();
public XUIPool m_ItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
private void Awake()
{
Transform transform = base.transform.Find("TitanFrame/ItemTpl");
this.m_ItemPool.SetupPool(transform.parent.gameObject, transform.gameObject, 2u, false);
}
}
}
|