瀏覽代碼

每日签到

zhaoyang 2 年之前
父節點
當前提交
3ab4e6aa25
共有 1 個文件被更改,包括 12 次插入3 次删除
  1. 12 3
      GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListSignItem.cs

+ 12 - 3
GameClient/Assets/Game/HotUpdate/FairyGUI/GenCode/DailyWelfare/UI_ListSignItem.cs

@@ -7,10 +7,13 @@ namespace UI.DailyWelfare
     public partial class UI_ListSignItem
     {
         public GComponent target;
+        public Controller m_c1;
         public GLoader m_loaDoubleTag;
         public GLoader m_loaIcon;
-        public GTextField m_txtDay;
         public GTextField m_txtCount;
+        public GTextField m_txtDay;
+        public GImage m_imgGot;
+        public GImage m_imgNotGet;
         public const string URL = "ui://t8nwuj7ifqor9";
         public const string PACKAGE_NAME = "DailyWelfare";
         public const string RES_NAME = "ListSignItem";
@@ -58,17 +61,23 @@ namespace UI.DailyWelfare
 
         private void Init(GComponent comp)
         {
+            m_c1 = comp.GetController("c1");
             m_loaDoubleTag = (GLoader)comp.GetChild("loaDoubleTag");
             m_loaIcon = (GLoader)comp.GetChild("loaIcon");
-            m_txtDay = (GTextField)comp.GetChild("txtDay");
             m_txtCount = (GTextField)comp.GetChild("txtCount");
+            m_txtDay = (GTextField)comp.GetChild("txtDay");
+            m_imgGot = (GImage)comp.GetChild("imgGot");
+            m_imgNotGet = (GImage)comp.GetChild("imgNotGet");
         }
         public void Dispose(bool disposeTarget = false)
         {
+            m_c1 = null;
             m_loaDoubleTag = null;
             m_loaIcon = null;
-            m_txtDay = null;
             m_txtCount = null;
+            m_txtDay = null;
+            m_imgGot = null;
+            m_imgNotGet = null;
             if(disposeTarget && target != null)
             {
                 target.RemoveFromParent();