summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/RenameBehaviour.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/RenameBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/RenameBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/RenameBehaviour.cs35
1 files changed, 35 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/RenameBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/RenameBehaviour.cs
new file mode 100644
index 00000000..eab328f0
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/RenameBehaviour.cs
@@ -0,0 +1,35 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient.UI
+{
+ internal class RenameBehaviour : DlgBehaviourBase
+ {
+ public IXUISprite mClose;
+
+ public IXUILabel mMessage;
+
+ public IXUILabel mTitle;
+
+ public IXUIInput mInput;
+
+ public IXUILabel mInputText;
+
+ public IXUIButton mOk;
+
+ private void Awake()
+ {
+ this.mClose = (base.transform.Find("Bg/Close").GetComponent("XUISprite") as IXUISprite);
+ this.mMessage = (base.transform.Find("Bg/T").GetComponent("XUILabel") as IXUILabel);
+ this.mTitle = (base.transform.Find("Bg/pp/T").GetComponent("XUILabel") as IXUILabel);
+ Transform transform = base.transform.Find("Bg/p");
+ XSingleton<XDebug>.singleton.AddGreenLog("T = NULL?" + (transform == null).ToString(), null, null, null, null, null);
+ this.mInput = (base.transform.Find("Bg/p").GetComponent("XUIInput") as IXUIInput);
+ this.mInputText = (base.transform.Find("Bg/p/T").GetComponent("XUILabel") as IXUILabel);
+ this.mOk = (base.transform.Find("Bg/ok").GetComponent("XUIButton") as IXUIButton);
+ }
+ }
+}