/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Arena { public partial class UI_ArenaLoadingUI { public GComponent target; public GLoader m_loaBg; public GProgressBar m_progressBar1; public GGraph m_holder; public GImage m_imgAni; public const string URL = "ui://4lc5fhlbrv0954"; public const string PACKAGE_NAME = "Arena"; public const string RES_NAME = "ArenaLoadingUI"; private static UI_ArenaLoadingUI _proxy; public static UI_ArenaLoadingUI Create(GObject gObject = null) { var ui = new UI_ArenaLoadingUI(); 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_ArenaLoadingUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ArenaLoadingUI(); } 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_loaBg = (GLoader)comp.GetChild("loaBg"); m_progressBar1 = (GProgressBar)comp.GetChild("progressBar1"); m_holder = (GGraph)comp.GetChild("holder"); m_imgAni = (GImage)comp.GetChild("imgAni"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_progressBar1 = null; m_holder = null; m_imgAni = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }