summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs b/Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs
new file mode 100644
index 00000000..8682bf19
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs
@@ -0,0 +1,38 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient
+{
+ public class CarnivalBehavior : DlgBehaviourBase
+ {
+ public IXUILabel _endLabel;
+
+ public GameObject _contentPanel;
+
+ public GameObject _rwdPanel;
+
+ public IXUIButton _close;
+
+ public IXUICheckBox[] _tabs = new IXUICheckBox[7];
+
+ public GameObject[] _redpoint = new GameObject[7];
+
+ public Transform[] _lock = new Transform[7];
+
+ private void Awake()
+ {
+ this._endLabel = (base.transform.Find("Bg/Deadline").GetComponent("XUILabel") as IXUILabel);
+ this._contentPanel = base.transform.Find("Bg/contentFrame").gameObject;
+ this._rwdPanel = base.transform.Find("Bg/rwdFrame").gameObject;
+ this._close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ for (int i = 0; i < 7; i++)
+ {
+ this._tabs[i] = (base.transform.Find("Bg/Tabs/TabTpl" + i + "/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
+ this._redpoint[i] = this._tabs[i].gameObject.transform.Find("RedPoint").gameObject;
+ this._lock[i] = this._tabs[i].gameObject.transform.Find("lock");
+ }
+ }
+ }
+}