summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/TitleDlgBehaviour.cs
blob: 35b888eff43281aa373d4729ef664a95c4db9fd0 (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
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;

namespace XMainClient.UI
{
	public class TitleDlgBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_Close;

		public IXUIButton m_Help;

		public IXUIButton m_Promote;

		public IXUIScrollView m_ScrollView;

		public GameObject m_ItemTpl;

		public GameObject m_point;

		public GameObject m_MaxTitle;

		public IXUISprite m_redPoint;

		public TitleDisplay m_CurrentTitle = new TitleDisplay();

		public TitleDisplay m_NextTitle = new TitleDisplay();

		private void Awake()
		{
			this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_Promote = (base.transform.Find("Bg/Promote").GetComponent("XUIButton") as IXUIButton);
			this.m_redPoint = (base.transform.Find("Bg/Promote/RedPoint").GetComponent("XUISprite") as IXUISprite);
			this.m_ScrollView = (base.transform.Find("Bg/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
			this.m_ItemTpl = base.transform.Find("Bg/ScrollView/ItemTpl").gameObject;
			this.m_point = base.transform.Find("Bg/Point").gameObject;
			this.m_ItemTpl.gameObject.SetActive(false);
			this.m_MaxTitle = base.transform.Find("Bg/MaxTitle").gameObject;
			this.m_CurrentTitle.Init(base.transform.Find("Bg/Current"));
			this.m_NextTitle.Init(base.transform.Find("Bg/Next"));
		}
	}
}