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

namespace XMainClient.UI
{
	internal class LoadingDlgBehaviour : DlgBehaviourBase
	{
		public IXUIProgress m_LoadingProgress = null;

		public Transform m_LoadingBg = null;

		public Transform m_Canvas = null;

		public IXUILabel m_LoadingTips = null;

		public IXUITexture m_LoadingPic = null;

		public IXUILabel m_WaitForOthersTip = null;

		public IXUISprite m_Dog = null;

		private void Awake()
		{
			Transform transform = base.transform.Find("Dynamics/LoadingProgress");
			this.m_LoadingProgress = (transform.GetComponent("XUIProgress") as IXUIProgress);
			this.m_Dog = (transform.Find("Dog/").GetComponent("XUISprite") as IXUISprite);
			this.m_Canvas = base.transform.Find("fade_canvas");
			this.m_LoadingTips = (base.transform.Find("Bg/Label").GetComponent("XUILabel") as IXUILabel);
			this.m_LoadingBg = base.transform.Find("Bg");
			this.m_LoadingPic = (base.transform.Find("Bg").GetComponent("XUITexture") as IXUITexture);
			this.m_WaitForOthersTip = (base.transform.Find("Bg/WaitOthers").GetComponent("XUILabel") as IXUILabel);
			this.m_Canvas.gameObject.SetActive(false);
		}
	}
}