blob: c3642271f86fbde45a552178fc26f2fa13f087ec (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient
{
internal class FirstPassRewardBehaviour : DlgBehaviourBase
{
public IXUIButton m_Close;
public GameObject m_itemParentGo;
public XUIPool m_ItemPool1 = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public XUIPool m_ItemPool2 = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
private void Awake()
{
this.m_Close = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
this.m_itemParentGo = base.transform.Find("Panel/List").gameObject;
Transform transform = this.m_itemParentGo.transform.Find("Tpl");
this.m_ItemPool1.SetupPool(this.m_itemParentGo, transform.gameObject, 5u, false);
this.m_ItemPool2.SetupPool(transform.gameObject, this.m_itemParentGo.transform.Find("Item").gameObject, 4u, false);
}
}
}
|