blob: 9c831bba85bb1c7e938d58cc8c9f551b6c026b92 (
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
40
41
42
43
44
45
46
47
48
49
50
51
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient.UI
{
internal class SevenLoginBehaviour : DlgBehaviourBase
{
public IXUIButton m_Close;
public IXUILabel m_LoginDayLabel;
public IXUIScrollView m_WrapContentScrollView;
public Transform m_WrapContentTemp;
public Transform m_WrapContentRewardTemp;
public XUIPool m_RewardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public IXUILabel m_MessageLabel;
public IXUITexture m_shardTexture;
public IXUITexture m_dialogTexture;
public Transform m_dialogTransform;
public IXUIButton m_dialogClose;
private void Awake()
{
this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_LoginDayLabel = (base.transform.Find("Bg/LoginDay").GetComponent("XUILabel") as IXUILabel);
this.m_WrapContentScrollView = (base.transform.Find("Bg/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
this.m_WrapContentTemp = base.transform.Find("Bg/ScrollView/ItemTpl");
this.m_WrapContentTemp.gameObject.SetActive(false);
this.m_WrapContentRewardTemp = base.transform.Find("Bg/RewardTemp");
this.m_RewardPool.SetupPool(this.m_WrapContentRewardTemp.parent.gameObject, this.m_WrapContentRewardTemp.gameObject, 30u, false);
this.m_WrapContentRewardTemp.gameObject.SetActive(false);
this.m_MessageLabel = (base.transform.Find("Bg/Message").GetComponent("XUILabel") as IXUILabel);
Transform transform = base.transform.Find("Bg/Show");
this.m_shardTexture = (base.transform.Find("Bg/Show/Texture").GetComponent("XUITexture") as IXUITexture);
this.m_dialogClose = (base.transform.Find("Bg/Dialog/Close").GetComponent("XUIButton") as IXUIButton);
this.m_dialogTexture = (base.transform.Find("Bg/Dialog/Texture").GetComponent("XUITexture") as IXUITexture);
this.m_dialogTransform = base.transform.Find("Bg/Dialog");
}
}
}
|