From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/XShowGetAchivementTipBehaviour.cs | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XShowGetAchivementTipBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/XShowGetAchivementTipBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/XShowGetAchivementTipBehaviour.cs b/Client/Assets/Scripts/XMainClient/XShowGetAchivementTipBehaviour.cs new file mode 100644 index 00000000..5b6de3e2 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XShowGetAchivementTipBehaviour.cs @@ -0,0 +1,33 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class XShowGetAchivementTipBehaviour : DlgBehaviourBase + { + public GameObject m_Bg; + + public IXUILabel m_AchivementName; + + public IXUILabel m_AchivementText; + + public GameObject m_Bg2; + + public IXUILabel m_AchivementName2; + + public IXUILabel m_AchivementText2; + + private void Awake() + { + this.m_AchivementName = (base.transform.Find("Bg/Label1").GetComponent("XUILabel") as IXUILabel); + this.m_AchivementText = (base.transform.Find("Bg/Label2").GetComponent("XUILabel") as IXUILabel); + this.m_Bg = base.transform.Find("Bg").gameObject; + this.m_AchivementName2 = (base.transform.Find("Bg1/Label1").GetComponent("XUILabel") as IXUILabel); + this.m_AchivementText2 = (base.transform.Find("Bg1/Label2").GetComponent("XUILabel") as IXUILabel); + this.m_Bg2 = base.transform.Find("Bg1").gameObject; + this.m_Bg2.SetActive(false); + } + } +} -- cgit v1.1-26-g67d0