summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XBriefStrengthenBehaviour.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/XBriefStrengthenBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/XBriefStrengthenBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/XBriefStrengthenBehaviour.cs28
1 files changed, 28 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/XBriefStrengthenBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XBriefStrengthenBehaviour.cs
new file mode 100644
index 00000000..25208a73
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/XBriefStrengthenBehaviour.cs
@@ -0,0 +1,28 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient.UI
+{
+ internal class XBriefStrengthenBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton m_Close;
+
+ public IXUISprite m_Close2;
+
+ public IXUILabel m_More;
+
+ public XUIPool m_FuncPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ private void Awake()
+ {
+ this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_Close2 = (base.transform.Find("Bg").GetComponent("XUISprite") as IXUISprite);
+ Transform transform = base.transform.Find("Bg/P/Tpl");
+ this.m_FuncPool.SetupPool(transform.parent.gameObject, transform.gameObject, 3u, false);
+ this.m_More = (base.transform.Find("Bg/More").GetComponent("XUILabel") as IXUILabel);
+ }
+ }
+}