diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/TitleDlgBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/UI/TitleDlgBehaviour.cs | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/TitleDlgBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/TitleDlgBehaviour.cs new file mode 100644 index 00000000..35b888ef --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/TitleDlgBehaviour.cs @@ -0,0 +1,45 @@ +using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient.UI
+{
+ public class TitleDlgBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton m_Close;
+
+ public IXUIButton m_Help;
+
+ public IXUIButton m_Promote;
+
+ public IXUIScrollView m_ScrollView;
+
+ public GameObject m_ItemTpl;
+
+ public GameObject m_point;
+
+ public GameObject m_MaxTitle;
+
+ public IXUISprite m_redPoint;
+
+ public TitleDisplay m_CurrentTitle = new TitleDisplay();
+
+ public TitleDisplay m_NextTitle = new TitleDisplay();
+
+ private void Awake()
+ {
+ this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
+ this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_Promote = (base.transform.Find("Bg/Promote").GetComponent("XUIButton") as IXUIButton);
+ this.m_redPoint = (base.transform.Find("Bg/Promote/RedPoint").GetComponent("XUISprite") as IXUISprite);
+ this.m_ScrollView = (base.transform.Find("Bg/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
+ this.m_ItemTpl = base.transform.Find("Bg/ScrollView/ItemTpl").gameObject;
+ this.m_point = base.transform.Find("Bg/Point").gameObject;
+ this.m_ItemTpl.gameObject.SetActive(false);
+ this.m_MaxTitle = base.transform.Find("Bg/MaxTitle").gameObject;
+ this.m_CurrentTitle.Init(base.transform.Find("Bg/Current"));
+ this.m_NextTitle.Init(base.transform.Find("Bg/Next"));
+ }
+ }
+}
|