blob: e35a7a57bd7680cc520b06db5d758c099ddb0649 (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient
{
internal class AnicientBoxBahaviour : DlgBehaviourBase
{
public IXUILabel m_title;
public IXUILabel m_point;
public GameObject itemTpl;
public IXUIButton m_btnClaim;
public XUIPool m_rwdpool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public IXUISprite m_black;
public IXUISprite m_sprRed;
private void Awake()
{
this.itemTpl = base.transform.Find("bg/ItemList/ItemTpl").gameObject;
this.itemTpl.SetActive(false);
this.m_title = (base.transform.Find("bg/title").GetComponent("XUILabel") as IXUILabel);
this.m_point = (base.transform.Find("bg/tips").GetComponent("XUILabel") as IXUILabel);
this.m_btnClaim = (base.transform.Find("bg/Bt").GetComponent("XUIButton") as IXUIButton);
this.m_rwdpool.SetupPool(this.itemTpl.transform.parent.gameObject, this.itemTpl, 2u, false);
this.m_black = (base.transform.Find("backclick").GetComponent("XUISprite") as IXUISprite);
this.m_sprRed = (base.transform.Find("bg/Bt/redpoint").GetComponent("XUISprite") as IXUISprite);
}
}
}
|