blob: edd61534055bc9adfcb7bd3439c022f5919ea07a (
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
29
30
31
32
33
34
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient
{
internal class GuildMineRewardBehaviour : DlgBehaviourBase
{
public IXUIButton m_Close;
public IXUIButton m_Help;
public Transform m_Bg;
public IXUIButton m_Rank;
public IXUILabel m_Win;
public XUIPool m_GuildPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
private void Awake()
{
this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
this.m_Bg = base.transform.Find("Bg");
this.m_Rank = (base.transform.Find("Bg/BtnRank").GetComponent("XUIButton") as IXUIButton);
this.m_Win = (base.transform.Find("Bg/GuildWin/Info").GetComponent("XUILabel") as IXUILabel);
Transform transform = base.transform.Find("Bg/Guild/GuildTpl");
this.m_GuildPool.SetupPool(null, transform.gameObject, 3u, false);
}
}
}
|