blob: 918096ccbbb1176307c2781dc25c80bc3ea2c6f2 (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient
{
internal class XLifeTargetDlgBehaviour : DlgBehaviourBase
{
public XUIPool m_TargetPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public IXUIButton m_close;
public IXUIScrollView m_ScrollView;
private void Awake()
{
this.m_close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
Transform transform = base.transform.Find("Bg/Bg/Panel/TargetTpl");
this.m_TargetPool.SetupPool(transform.parent.gameObject, transform.gameObject, 5u, false);
this.m_ScrollView = (base.transform.Find("Bg/Bg/Panel").GetComponent("XUIScrollView") as IXUIScrollView);
}
}
}
|