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

namespace XMainClient
{
	internal class AnnounceBehaviour : DlgBehaviourBase
	{
		public IXUISprite m_closedSpr;

		public IXUISprite m_iconSpr;

		public IXUILabel m_nameLab;

		public IXUILabel m_levelLab;

		public IXUILabel m_describeLab;

		public IXUITweenTool m_playerTween = null;

		private void Awake()
		{
			Transform transform = base.transform.Find("Bg");
			this.m_closedSpr = (transform.Find("Close").GetComponent("XUISprite") as IXUISprite);
			this.m_iconSpr = (transform.Find("Icon").GetComponent("XUISprite") as IXUISprite);
			this.m_playerTween = (transform.GetComponent("XUIPlayTween") as IXUITweenTool);
			transform = transform.Find("SkillFrame").transform;
			this.m_nameLab = (transform.Find("AttrName").GetComponent("XUILabel") as IXUILabel);
			this.m_levelLab = (transform.Find("Level").GetComponent("XUILabel") as IXUILabel);
			this.m_describeLab = (transform.Find("Describe").GetComponent("XUILabel") as IXUILabel);
		}
	}
}