/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Studio { public partial class UI_StudioUI { public GComponent target; public GLoader m_loaBg; public GButton m_btnBack; public UI_ComEctype m_comMetal; public UI_ComEctype m_comFabric; public UI_ComEctype m_comProperty; public UI_ComEctype m_comFiling; public const string URL = "ui://xz8kxrecrbxq0"; public const string PACKAGE_NAME = "Studio"; public const string RES_NAME = "StudioUI"; private static UI_StudioUI _proxy; public static UI_StudioUI Create(GObject gObject = null) { var ui = new UI_StudioUI(); 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_StudioUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_StudioUI(); } 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_btnBack = (GButton)comp.GetChild("btnBack"); m_comMetal = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comMetal")); m_comFabric = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comFabric")); m_comProperty = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comProperty")); m_comFiling = (UI_ComEctype)UI_ComEctype.Create(comp.GetChild("comFiling")); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_btnBack = null; m_comMetal.Dispose(); m_comMetal = null; m_comFabric.Dispose(); m_comFabric = null; m_comProperty.Dispose(); m_comProperty = null; m_comFiling.Dispose(); m_comFiling = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }