blob: 0f4a0cda8ac1195981db56899c8d278173d521eb (
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 AnicentTaskBhaviour : DlgBehaviourBase
{
public GameObject boxTpl;
public GameObject itemTpl;
public IXUILabel m_time;
public IXUILabel m_content;
public XUIPool m_tabpool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public XUIPool m_rwdpool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public IXUIButton m_btnClose;
private void Awake()
{
this.boxTpl = base.transform.Find("Bg/TaskTitle/option1").gameObject;
this.m_content = (base.transform.Find("Bg/condition/condition1").GetComponent("XUILabel") as IXUILabel);
this.m_time = (base.transform.Find("Bg/condition/Time").GetComponent("XUILabel") as IXUILabel);
this.itemTpl = base.transform.Find("Bg/condition/ItemList/ItemTpl").gameObject;
this.itemTpl.SetActive(false);
this.m_btnClose = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_tabpool.SetupPool(this.boxTpl.transform.parent.gameObject, this.boxTpl, 2u, false);
this.m_rwdpool.SetupPool(this.itemTpl.transform.parent.gameObject, this.itemTpl, 2u, false);
}
}
}
|