123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.DailyWelfare
- {
- public partial class UI_ProgressBar2
- {
- public GProgressBar target;
- public UI_ComProBonus2 m_comProBonus0;
- public UI_ComProBonus2 m_comProBonus1;
- public UI_ComProBonus2 m_comProBonus2;
- public UI_ComProBonus2 m_comProBonus3;
- public GGroup m_comProBonusGroup;
- public GGraph m_holder;
- public GGraph m_holderReward;
- public const string URL = "ui://t8nwuj7ievdh26";
- public const string PACKAGE_NAME = "DailyWelfare";
- public const string RES_NAME = "ProgressBar2";
- private static UI_ProgressBar2 _proxy;
- public static UI_ProgressBar2 Create(GObject gObject = null)
- {
- var ui = new UI_ProgressBar2();
- 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_ProgressBar2 Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ProgressBar2();
- }
- 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_ComProBonus2)UI_ComProBonus2.Create(comp.GetChild("comProBonus0"));
- m_comProBonus1 = (UI_ComProBonus2)UI_ComProBonus2.Create(comp.GetChild("comProBonus1"));
- m_comProBonus2 = (UI_ComProBonus2)UI_ComProBonus2.Create(comp.GetChild("comProBonus2"));
- m_comProBonus3 = (UI_ComProBonus2)UI_ComProBonus2.Create(comp.GetChild("comProBonus3"));
- m_comProBonusGroup = (GGroup)comp.GetChild("comProBonusGroup");
- m_holder = (GGraph)comp.GetChild("holder");
- m_holderReward = (GGraph)comp.GetChild("holderReward");
- }
- 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_comProBonusGroup = null;
- m_holder = null;
- m_holderReward = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|