From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/XSpriteShowBehaviour.cs | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XSpriteShowBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/XSpriteShowBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/XSpriteShowBehaviour.cs b/Client/Assets/Scripts/XMainClient/XSpriteShowBehaviour.cs new file mode 100644 index 00000000..803c3c77 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XSpriteShowBehaviour.cs @@ -0,0 +1,29 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class XSpriteShowBehaviour : DlgBehaviourBase + { + public IXUISprite m_Close; + + public Transform m_AvatarRoot; + + public Transform m_FxPoint; + + public IXUISprite m_Quality; + + public IXUITweenTool m_QualityTween; + + private void Awake() + { + this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUISprite") as IXUISprite); + this.m_AvatarRoot = base.transform.Find("Bg/AvatarRoot"); + this.m_FxPoint = base.transform.Find("Bg/Fx"); + this.m_Quality = (base.transform.Find("Bg/Quality").GetComponent("XUISprite") as IXUISprite); + this.m_QualityTween = (base.transform.Find("Bg").GetComponent("XUIPlayTween") as IXUITweenTool); + } + } +} -- cgit v1.1-26-g67d0