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); } } }