12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.DailyWelfare
- {
- public partial class UI_ProgressBar1
- {
- public GProgressBar target;
- public UI_ComProBonus m_comProBonus0;
- public UI_ComProBonus m_comProBonus1;
- public UI_ComProBonus m_comProBonus2;
- public UI_ComProBonus m_comProBonus3;
- public UI_ComProBonus m_comProBonus4;
- public GGraph m_holder;
- public GGraph m_holderReward;
- public GTextField m_txtSignCount;
- public const string URL = "ui://t8nwuj7ifqor7";
- public const string PACKAGE_NAME = "DailyWelfare";
- public const string RES_NAME = "ProgressBar1";
- private static UI_ProgressBar1 _proxy;
- public static UI_ProgressBar1 Create(GObject gObject = null)
- {
- var ui = new UI_ProgressBar1();
- if(gObject == null)
- ui.target = (GProgressBar)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GProgressBar)gObject;
- ui.Init(ui.target);
- return ui;
- }
- public static UI_ProgressBar1 Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ProgressBar1();
- }
- var ui = _proxy;
- if(gObject == null)
- ui.target = (GProgressBar)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
- else
- ui.target = (GProgressBar)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_comProBonus0 = (UI_ComProBonus)UI_ComProBonus.Create(comp.GetChild("comProBonus0"));
- m_comProBonus1 = (UI_ComProBonus)UI_ComProBonus.Create(comp.GetChild("comProBonus1"));
- m_comProBonus2 = (UI_ComProBonus)UI_ComProBonus.Create(comp.GetChild("comProBonus2"));
- m_comProBonus3 = (UI_ComProBonus)UI_ComProBonus.Create(comp.GetChild("comProBonus3"));
- m_comProBonus4 = (UI_ComProBonus)UI_ComProBonus.Create(comp.GetChild("comProBonus4"));
- m_holder = (GGraph)comp.GetChild("holder");
- m_holderReward = (GGraph)comp.GetChild("holderReward");
- m_txtSignCount = (GTextField)comp.GetChild("txtSignCount");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_comProBonus0.Dispose();
- m_comProBonus0 = null;
- m_comProBonus1.Dispose();
- m_comProBonus1 = null;
- m_comProBonus2.Dispose();
- m_comProBonus2 = null;
- m_comProBonus3.Dispose();
- m_comProBonus3 = null;
- m_comProBonus4.Dispose();
- m_comProBonus4 = null;
- m_holder = null;
- m_holderReward = null;
- m_txtSignCount = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|