summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/EquipSetItemView.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/EquipSetItemView.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/EquipSetItemView.cs51
1 files changed, 51 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/EquipSetItemView.cs b/Client/Assets/Scripts/XMainClient/UI/EquipSetItemView.cs
new file mode 100644
index 00000000..ff0d8146
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/EquipSetItemView.cs
@@ -0,0 +1,51 @@
+using System;
+using UILib;
+using UnityEngine;
+
+namespace XMainClient.UI
+{
+ internal class EquipSetItemView : EquipSetItemBaseView
+ {
+ public GameObject goItem1;
+
+ public GameObject goItem2;
+
+ public GameObject goItem3;
+
+ public GameObject goItem4;
+
+ public IXUILabel lbItemCount1;
+
+ public IXUILabel lbItemCount2;
+
+ public IXUILabel lbItemCount3;
+
+ public IXUILabel lbItemCount4;
+
+ public IXUIButton btnCreate;
+
+ public IXUILabel lbCost;
+
+ public GameObject goRedpoint;
+
+ public override void FindFrom(Transform t)
+ {
+ bool flag = null != t;
+ if (flag)
+ {
+ base.FindFrom(t);
+ this.goItem1 = t.Find("Item1").gameObject;
+ this.lbItemCount1 = (this.goItem1.transform.Find("FCount").GetComponent("XUILabel") as IXUILabel);
+ this.goItem2 = t.Find("Item2").gameObject;
+ this.lbItemCount2 = (this.goItem2.transform.Find("FCount").GetComponent("XUILabel") as IXUILabel);
+ this.goItem3 = t.Find("Item3").gameObject;
+ this.lbItemCount3 = (this.goItem3.transform.Find("FCount").GetComponent("XUILabel") as IXUILabel);
+ this.goItem4 = t.Find("Item4").gameObject;
+ this.lbItemCount4 = (this.goItem4.transform.Find("FCount").GetComponent("XUILabel") as IXUILabel);
+ this.btnCreate = (t.Find("Create").GetComponent("XUIButton") as IXUIButton);
+ this.lbCost = (this.btnCreate.gameObject.transform.Find("V").GetComponent("XUILabel") as IXUILabel);
+ this.goRedpoint = this.btnCreate.gameObject.transform.Find("RedPoint").gameObject;
+ }
+ }
+ }
+}