blob: 1fab81fb785159a678828b07999a21f5eae47955 (
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 XMainClient.UI.UICommon;
namespace XMainClient.UI
{
internal class XMentorshipCandidatesBehavior : DlgBehaviourBase
{
public IXUIWrapContent WrapContent = null;
public IXUIScrollView ScrollView = null;
public IXUIButton ClearBtn;
public IXUIButton CloseBtn;
public IXUILabel titleContent;
public IXUILabel btnContent;
private void Awake()
{
this.WrapContent = (base.transform.Find("Bg/List/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent);
this.ScrollView = (this.WrapContent.gameObject.transform.parent.GetComponent("XUIScrollView") as IXUIScrollView);
this.ClearBtn = (base.transform.Find("Bg/ClearOrSwap").GetComponent("XUIButton") as IXUIButton);
this.CloseBtn = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.titleContent = (base.transform.Find("Bg/Title/content").GetComponent("XUILabel") as IXUILabel);
this.btnContent = (base.transform.Find("Bg/ClearOrSwap/Type").GetComponent("XUILabel") as IXUILabel);
}
}
}
|