123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.TurnTable
- {
- public partial class UI_Component1
- {
- public GComponent target;
- public GProgressBar m_bar;
- public UI_reward m_itemj0;
- public UI_reward m_itemj1;
- public UI_reward m_itemj2;
- public UI_reward m_itemj3;
- public UI_reward m_itemj4;
- public UI_reward m_itemj5;
- public UI_reward m_itemj6;
- public UI_reward m_itemj7;
- public UI_reward m_itemj8;
- public UI_reward m_itemj9;
- public const string URL = "ui://zioq0m8xqncf1d";
- public const string PACKAGE_NAME = "TurnTable";
- public const string RES_NAME = "Component1";
- private static UI_Component1 _proxy;
- public static UI_Component1 Create(GObject gObject = null)
- {
- var ui = new UI_Component1();
- 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_Component1 Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_Component1();
- }
- 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_bar = (GProgressBar)comp.GetChild("bar");
- m_itemj0 = (UI_reward)UI_reward.Create(comp.GetChild("itemj0"));
- m_itemj1 = (UI_reward)UI_reward.Create(comp.GetChild("itemj1"));
- m_itemj2 = (UI_reward)UI_reward.Create(comp.GetChild("itemj2"));
- m_itemj3 = (UI_reward)UI_reward.Create(comp.GetChild("itemj3"));
- m_itemj4 = (UI_reward)UI_reward.Create(comp.GetChild("itemj4"));
- m_itemj5 = (UI_reward)UI_reward.Create(comp.GetChild("itemj5"));
- m_itemj6 = (UI_reward)UI_reward.Create(comp.GetChild("itemj6"));
- m_itemj7 = (UI_reward)UI_reward.Create(comp.GetChild("itemj7"));
- m_itemj8 = (UI_reward)UI_reward.Create(comp.GetChild("itemj8"));
- m_itemj9 = (UI_reward)UI_reward.Create(comp.GetChild("itemj9"));
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bar = null;
- m_itemj0.Dispose();
- m_itemj0 = null;
- m_itemj1.Dispose();
- m_itemj1 = null;
- m_itemj2.Dispose();
- m_itemj2 = null;
- m_itemj3.Dispose();
- m_itemj3 = null;
- m_itemj4.Dispose();
- m_itemj4 = null;
- m_itemj5.Dispose();
- m_itemj5 = null;
- m_itemj6.Dispose();
- m_itemj6 = null;
- m_itemj7.Dispose();
- m_itemj7 = null;
- m_itemj8.Dispose();
- m_itemj8 = null;
- m_itemj9.Dispose();
- m_itemj9 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|