blob: 18b28bc1be30e0f76d16dce2fe5ed4c954a89cc7 (
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 XTeamLeagueDetailBehaviour : DlgBehaviourBase
{
public IXUIButton m_Close;
public IXUILabel m_TeamName;
public IXUIList m_MemberList;
public XUIPool m_MemberPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
private void Awake()
{
this.m_Close = (base.transform.Find("p/Close").GetComponent("XUIButton") as IXUIButton);
this.m_TeamName = (base.transform.Find("p/Name").GetComponent("XUILabel") as IXUILabel);
this.m_MemberList = (base.transform.Find("p/Grid").GetComponent("XUIList") as IXUIList);
Transform transform = base.transform.Find("p/Grid/Tpl");
this.m_MemberPool.SetupPool(this.m_MemberList.gameObject, transform.gameObject, 4u, false);
}
}
}
|