123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.DailyWelfare
- {
- public partial class UI_LimitedRechargeDBGiftUI
- {
- public GComponent target;
- public GComponent m_bg;
- public UI_ProgressBar2 m_progress;
- public UI_DBGiftItem m_DBGiftItem1;
- public UI_DBGiftItem m_DBGiftItem2;
- public UI_DBGiftItem m_DBGiftItem3;
- public UI_DBGiftItem m_DBGiftItem4;
- public GGroup m_DBGiftItemGroup;
- public GTextField m_txtTime;
- public GGroup m_grpTime;
- public GButton m_btnTest;
- public const string URL = "ui://t8nwuj7ievdh25";
- public const string PACKAGE_NAME = "DailyWelfare";
- public const string RES_NAME = "LimitedRechargeDBGiftUI";
- private static UI_LimitedRechargeDBGiftUI _proxy;
- public static UI_LimitedRechargeDBGiftUI Create(GObject gObject = null)
- {
- var ui = new UI_LimitedRechargeDBGiftUI();
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_LimitedRechargeDBGiftUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_LimitedRechargeDBGiftUI();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GComponent)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static void ProxyEnd()
- {
- if (_proxy != null)
- {
- _proxy.Dispose();
- }
- }
- public static void ClearProxy()
- {
- ProxyEnd();
- _proxy = null;
- }
- private void Init(GComponent comp)
- {
- m_bg = (GComponent)comp.GetChild("bg");
- m_progress = (UI_ProgressBar2)UI_ProgressBar2.Create(comp.GetChild("progress"));
- m_DBGiftItem1 = (UI_DBGiftItem)UI_DBGiftItem.Create(comp.GetChild("DBGiftItem1"));
- m_DBGiftItem2 = (UI_DBGiftItem)UI_DBGiftItem.Create(comp.GetChild("DBGiftItem2"));
- m_DBGiftItem3 = (UI_DBGiftItem)UI_DBGiftItem.Create(comp.GetChild("DBGiftItem3"));
- m_DBGiftItem4 = (UI_DBGiftItem)UI_DBGiftItem.Create(comp.GetChild("DBGiftItem4"));
- m_DBGiftItemGroup = (GGroup)comp.GetChild("DBGiftItemGroup");
- m_txtTime = (GTextField)comp.GetChild("txtTime");
- m_grpTime = (GGroup)comp.GetChild("grpTime");
- m_btnTest = (GButton)comp.GetChild("btnTest");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_progress.Dispose();
- m_progress = null;
- m_DBGiftItem1.Dispose();
- m_DBGiftItem1 = null;
- m_DBGiftItem2.Dispose();
- m_DBGiftItem2 = null;
- m_DBGiftItem3.Dispose();
- m_DBGiftItem3 = null;
- m_DBGiftItem4.Dispose();
- m_DBGiftItem4 = null;
- m_DBGiftItemGroup = null;
- m_txtTime = null;
- m_grpTime = null;
- m_btnTest = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|