diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/AnnounceBehaviour.cs | 34 |
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);
+ }
+ }
+}
|