blob: 1f4f3743c2afd83a94d879f9597cadded9a0bc55 (
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
38
39
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
namespace XMainClient.UI
{
internal class XActivityInviteBehavior : DlgBehaviourBase
{
public IXUIButton AddFriendBtn;
public IXUIButton JoinGuildBtn;
public IXUIScrollView ScrollView;
public IXUIWrapContent WrapContent;
public Transform Tabs;
public IXUISprite Close;
public Transform EmptyFlag;
public IXUILabel FriendText;
private void Awake()
{
Transform transform = base.transform.Find("Bg/BtnAddFriendMiddle");
this.AddFriendBtn = (transform.GetComponent("XUIButton") as IXUIButton);
this.JoinGuildBtn = (base.transform.Find("Bg/BtnJoinGuild").GetComponent("XUIButton") as IXUIButton);
this.ScrollView = (base.transform.Find("Bg/Panel").GetComponent("XUIScrollView") as IXUIScrollView);
this.WrapContent = (base.transform.Find("Bg/Panel/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent);
this.Tabs = base.transform.Find("Tabs");
this.Close = (base.transform.Find("Bg/Close").GetComponent("XUISprite") as IXUISprite);
this.EmptyFlag = base.transform.Find("Bg/Empty");
this.FriendText = (base.transform.Find("Bg/Text").GetComponent("XUILabel") as IXUILabel);
}
}
}
|