summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs56
1 files changed, 56 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs
new file mode 100644
index 00000000..20c4c04a
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs
@@ -0,0 +1,56 @@
+using System;
+using UILib;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient.UI
+{
+ internal class WebViewBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton mCloseBtn;
+
+ public IXUIButton mBackBtn;
+
+ public IXUIButton mCollect;
+
+ public IXUICheckBox mCheckLive;
+
+ public IXUICheckBox mCheckVideo;
+
+ public IXUILabel mTryAgain;
+
+ public IXUILabel mTryAgainTip;
+
+ public IXUILabel mVideoTitle;
+
+ public IXUISprite mLoading;
+
+ public IXUISprite mChoiceSp;
+
+ public IXUISprite mRedPoint;
+
+ public IXUISprite mNetWorkStaus;
+
+ public IXUISprite mNetWorkWifi;
+
+ private void Awake()
+ {
+ this.mCloseBtn = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ this.mCloseBtn.ID = 1UL;
+ this.mBackBtn = (base.transform.Find("Bg/Return").GetComponent("XUIButton") as IXUIButton);
+ this.mBackBtn.ID = 2UL;
+ this.mCollect = (base.transform.Find("Bg/Collect").GetComponent("XUIButton") as IXUIButton);
+ this.mCheckLive = (base.transform.Find("Bg/TabTpl/tab1/template/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
+ this.mCheckLive.ID = 1UL;
+ this.mCheckVideo = (base.transform.Find("Bg/TabTpl/tab2/template/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
+ this.mCheckVideo.ID = 2UL;
+ this.mTryAgain = (base.transform.Find("Bg/Tip/Again").GetComponent("XUILabel") as IXUILabel);
+ this.mTryAgainTip = (base.transform.Find("Bg/Tip").GetComponent("XUILabel") as IXUILabel);
+ this.mVideoTitle = (base.transform.Find("Bg/Title").GetComponent("XUILabel") as IXUILabel);
+ this.mChoiceSp = (base.transform.Find("Bg/TabTpl").GetComponent("XUISprite") as IXUISprite);
+ this.mRedPoint = (base.transform.Find("Bg/Collect/RedPoint").GetComponent("XUISprite") as IXUISprite);
+ this.mNetWorkStaus = (base.transform.Find("Bg/Sys4G").GetComponent("XUISprite") as IXUISprite);
+ this.mNetWorkWifi = (base.transform.Find("Bg/SysWifi").GetComponent("XUISprite") as IXUISprite);
+ this.mLoading = (base.transform.Find("Bg/loading").GetComponent("XUISprite") as IXUISprite);
+ }
+ }
+}