blob: b9fe7c79899e8e93ba86d1fb9348c8d864a3b9bf (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient.UI
{
internal class ActivityGoddessTrialBehaviour : DlgBehaviourBase
{
public IXUILabel m_canJoinTimeslab;
public IXUILabel m_NeedTimesLab;
public IXUIButton m_goBattleBtn;
public IXUIButton m_closedBtn;
public IXUIButton m_getBtn;
public IXUIButton m_shopBtn;
public IXUIButton m_Help;
public GameObject m_noTimesGo;
public GameObject m_hadGetGo;
public XUIPool m_ItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
private void Awake()
{
this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
Transform transform = base.transform.Find("Bg");
this.m_closedBtn = (transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
this.m_goBattleBtn = (transform.Find("GoBattle").GetComponent("XUIButton") as IXUIButton);
this.m_getBtn = (transform.Find("GetRewardBtn").GetComponent("XUIButton") as IXUIButton);
this.m_shopBtn = (transform.Find("BtnShop").GetComponent("XUIButton") as IXUIButton);
this.m_canJoinTimeslab = (transform.Find("times").GetComponent("XUILabel") as IXUILabel);
this.m_NeedTimesLab = (transform.Find("Reward/NeedTimes").GetComponent("XUILabel") as IXUILabel);
this.m_noTimesGo = transform.Find("NoJoinTimesTips").gameObject;
this.m_hadGetGo = transform.Find("HadGet").gameObject;
transform = transform.Find("Reward/Item");
this.m_ItemPool.SetupPool(transform.gameObject, transform.Find("Item").gameObject, 2u, true);
this.m_canJoinTimeslab.SetText("");
this.m_NeedTimesLab.SetText("");
}
}
}
|