summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs34
1 files changed, 34 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs b/Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs
new file mode 100644
index 00000000..bcc5c186
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs
@@ -0,0 +1,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);
+ }
+ }
+}