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/PressTipsBehaviour.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/PressTipsBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/PressTipsBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/PressTipsBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/PressTipsBehaviour.cs new file mode 100644 index 00000000..09326afa --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/PressTipsBehaviour.cs @@ -0,0 +1,20 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class PressTipsBehaviour : DlgBehaviourBase + { + public IXUILabel _ContentValue; + + public Transform _ContentTransform; + + private void Awake() + { + this._ContentTransform = base.transform.Find("Info"); + this._ContentValue = (this._ContentTransform.GetComponent("XUILabel") as IXUILabel); + } + } +} -- cgit v1.1-26-g67d0