From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/DungeonShareBehavior.cs | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/DungeonShareBehavior.cs (limited to 'Client/Assets/Scripts/XMainClient/DungeonShareBehavior.cs') diff --git a/Client/Assets/Scripts/XMainClient/DungeonShareBehavior.cs b/Client/Assets/Scripts/XMainClient/DungeonShareBehavior.cs new file mode 100644 index 00000000..81cd8095 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/DungeonShareBehavior.cs @@ -0,0 +1,65 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient +{ + internal class DungeonShareBehavior : DlgBehaviourBase + { + public Transform _logoQQ; + + public Transform _logoWechat; + + public Transform _wechatShare; + + public Transform _QQShare; + + public IXUIButton _QQ_specialTarget; + + public IXUIButton _QQ_ZoneTarget; + + public IXUIButton _wechat_SpecialTarget; + + public IXUIButton _wechat_ZoneTarget; + + public IXUIButton _shareBtn; + + public IXUIButton _closeBtn; + + public IXUILabel _nameLabel; + + public IXUILabel _serverLabel; + + public IXUILabel _noteLabel; + + public IXUILabel _firstLabel; + + public IUIDummy _uiDummy; + + public IXUITexture _bgTexture; + + public IXUISprite _bgText; + + private void Awake() + { + this._logoQQ = base.transform.Find("Bg/LogoQQ"); + this._logoWechat = base.transform.Find("Bg/LogoWC"); + this._wechatShare = base.transform.Find("Bg/Wc"); + this._wechat_SpecialTarget = (this._wechatShare.Find("Wc1").GetComponent("XUIButton") as IXUIButton); + this._wechat_ZoneTarget = (this._wechatShare.Find("Wc2").GetComponent("XUIButton") as IXUIButton); + this._QQShare = base.transform.Find("Bg/QQ"); + this._QQ_specialTarget = (this._QQShare.Find("QQ1").GetComponent("XUIButton") as IXUIButton); + this._QQ_ZoneTarget = (this._QQShare.Find("QQ2").GetComponent("XUIButton") as IXUIButton); + this._shareBtn = (base.transform.Find("Bg/ShareBtn").GetComponent("XUIButton") as IXUIButton); + this._nameLabel = (base.transform.Find("Bg/label/name").GetComponent("XUILabel") as IXUILabel); + this._serverLabel = (base.transform.Find("Bg/label/fuwuqi").GetComponent("XUILabel") as IXUILabel); + this._noteLabel = (base.transform.Find("Bg/Note").GetComponent("XUILabel") as IXUILabel); + this._uiDummy = (base.transform.Find("Bg/Snapshot").GetComponent("UIDummy") as IUIDummy); + this._bgTexture = (base.transform.Find("Bg/pHanging").GetComponent("XUITexture") as IXUITexture); + this._closeBtn = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this._bgText = (base.transform.Find("Bg/cxlbfont").GetComponent("XUISprite") as IXUISprite); + this._firstLabel = (base.transform.Find("Bg/cxlbfont/t").GetComponent("XUILabel") as IXUILabel); + } + } +} -- cgit v1.1-26-g67d0