From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/UI/CutSceneUIBehaviour.cs | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/CutSceneUIBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/CutSceneUIBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/CutSceneUIBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/CutSceneUIBehaviour.cs new file mode 100644 index 00000000..2618c780 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/CutSceneUIBehaviour.cs @@ -0,0 +1,35 @@ +using System; +using UILib; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + public class CutSceneUIBehaviour : DlgBehaviourBase + { + public IXUISprite m_BG; + + public IXUILabel m_Text; + + public IXUILabel m_Skip; + + public IXUISprite m_Overlay; + + public IXUITweenTool m_IntroTween; + + public IXUILabel m_Name; + + public IXUILabel m_IntroText; + + private void Awake() + { + this.m_BG = (base.transform.Find("_canvas/DownBG").GetComponent("XUISprite") as IXUISprite); + this.m_Text = (base.transform.Find("_canvas/DownBG/Text").GetComponent("XUILabel") as IXUILabel); + this.m_Skip = (base.transform.Find("_canvas/DownBG/UpBG/Skip").GetComponent("XUILabel") as IXUILabel); + this.m_Overlay = (base.transform.Find("_canvas/Overlay").GetComponent("XUISprite") as IXUISprite); + this.m_IntroTween = (base.transform.Find("_canvas/Intro").GetComponent("XUIPlayTween") as IXUITweenTool); + this.m_Name = (base.transform.Find("_canvas/Intro/Name").GetComponent("XUILabel") as IXUILabel); + this.m_IntroText = (base.transform.Find("_canvas/Intro/Text").GetComponent("XUILabel") as IXUILabel); + this.m_IntroTween.gameObject.SetActive(false); + } + } +} -- cgit v1.1-26-g67d0