blob: 0bcb904983e4afc59ab8fdb018a94419207bc965 (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient.UI
{
internal class BattleContinueDlgBehaviour : DlgBehaviourBase
{
public IXUIButton m_Continue;
public IXUITweenTool m_tween;
public Transform m_Next;
public IXUILabel m_lblNum;
public XUIPool m_NextItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
private void Awake()
{
this.m_Continue = (base.transform.Find("Bg/Continue").GetComponent("XUIButton") as IXUIButton);
this.m_tween = (base.transform.Find("Bg/Continue").GetComponent("XUIPlayTween") as IXUITweenTool);
this.m_Next = base.transform.Find("Bg/Next");
this.m_lblNum = (this.m_Next.transform.Find("Num").GetComponent("XUILabel") as IXUILabel);
Transform transform = base.transform.Find("Bg/Next/Item");
this.m_NextItemPool.SetupPool(transform.parent.gameObject, transform.gameObject, 3u, false);
}
}
}
|