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/WebViewBehaviour.cs | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/WebViewBehaviour.cs') 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); + } + } +} -- cgit v1.1-26-g67d0