diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/CarnivalBehavior.cs | 38 |
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");
+ }
+ }
+ }
+}
|