12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.DailyWelfare
- {
- public partial class UI_DailySupplyUI
- {
- public GComponent target;
- public UI_ComSupplyBg m_comBg;
- public UI_ComSupply m_comSupply;
- public GGraph m_holder;
- public Transition m_t0;
- public const string URL = "ui://t8nwuj7iqik1t";
- public const string PACKAGE_NAME = "DailyWelfare";
- public const string RES_NAME = "DailySupplyUI";
- private static UI_DailySupplyUI _proxy;
- public static UI_DailySupplyUI Create(GObject gObject = null)
- {
- var ui = new UI_DailySupplyUI();
- 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_DailySupplyUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_DailySupplyUI();
- }
- 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_comBg = (UI_ComSupplyBg)UI_ComSupplyBg.Create(comp.GetChild("comBg"));
- m_comSupply = (UI_ComSupply)UI_ComSupply.Create(comp.GetChild("comSupply"));
- m_holder = (GGraph)comp.GetChild("holder");
- m_t0 = comp.GetTransition("t0");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_comBg.Dispose();
- m_comBg = null;
- m_comSupply.Dispose();
- m_comSupply = null;
- m_holder = null;
- m_t0 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|