diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/UI/ModalSettingNumberDlgBehaviour.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/ModalSettingNumberDlgBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/UI/ModalSettingNumberDlgBehaviour.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/ModalSettingNumberDlgBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/ModalSettingNumberDlgBehaviour.cs new file mode 100644 index 00000000..da2aa8b1 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/ModalSettingNumberDlgBehaviour.cs @@ -0,0 +1,38 @@ +using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient.UI
+{
+ public class ModalSettingNumberDlgBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton AddBtn;
+
+ public IXUIButton SubBtn;
+
+ public IXUIButton CancelBtn;
+
+ public IXUIButton OkBtn;
+
+ public GameObject itemObject;
+
+ public IXUILabel numLabel;
+
+ public IXUILabel titleLabel;
+
+ public IXUISprite backSprite;
+
+ private void Awake()
+ {
+ this.AddBtn = (base.transform.Find("Count/Add").GetComponent("XUIButton") as IXUIButton);
+ this.SubBtn = (base.transform.Find("Count/Sub").GetComponent("XUIButton") as IXUIButton);
+ this.numLabel = (base.transform.Find("Count/number").GetComponent("XUILabel") as IXUILabel);
+ this.titleLabel = (base.transform.Find("findname").GetComponent("XUILabel") as IXUILabel);
+ this.CancelBtn = (base.transform.Find("BtnNO").GetComponent("XUIButton") as IXUIButton);
+ this.OkBtn = (base.transform.Find("BtnOK").GetComponent("XUIButton") as IXUIButton);
+ this.itemObject = base.transform.Find("ItemTemplate").gameObject;
+ this.backSprite = (base.transform.Find("back").GetComponent("XUISprite") as IXUISprite);
+ }
+ }
+}
|