/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ClothingSynthetic { public partial class UI_ClothingSyntheticUI { public GComponent target; public GLoader m_loaBg; public UI_Component1WithMask m_compHolder; public GLoader m_loaBg2; public GGraph m_loaBg2Pos; public GGraph m_posHelper; public UI_CompItemInfo m_compItemInfo; public GTextField m_txtSuitName; public GList m_listMaterias; public GList m_listClothing; public GButton m_btnProduction; public GComponent m_comCostCurrency; public GTextField m_txtProgress; public GButton m_btnBack; public GButton m_btnHome; public GComponent m_valueBar; public GButton m_cardSyntheticBtn; public Transition m_hide; public Transition m_show; public const string URL = "ui://4f294tdkj5391"; public const string PACKAGE_NAME = "ClothingSynthetic"; public const string RES_NAME = "ClothingSyntheticUI"; private static UI_ClothingSyntheticUI _proxy; public static UI_ClothingSyntheticUI Create(GObject gObject = null) { var ui = new UI_ClothingSyntheticUI(); 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_ClothingSyntheticUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ClothingSyntheticUI(); } 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_compHolder = (UI_Component1WithMask)UI_Component1WithMask.Create(comp.GetChild("compHolder")); m_loaBg2 = (GLoader)comp.GetChild("loaBg2"); m_loaBg2Pos = (GGraph)comp.GetChild("loaBg2Pos"); m_posHelper = (GGraph)comp.GetChild("posHelper"); m_compItemInfo = (UI_CompItemInfo)UI_CompItemInfo.Create(comp.GetChild("compItemInfo")); m_txtSuitName = (GTextField)comp.GetChild("txtSuitName"); m_listMaterias = (GList)comp.GetChild("listMaterias"); m_listClothing = (GList)comp.GetChild("listClothing"); m_btnProduction = (GButton)comp.GetChild("btnProduction"); m_comCostCurrency = (GComponent)comp.GetChild("comCostCurrency"); m_txtProgress = (GTextField)comp.GetChild("txtProgress"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_btnHome = (GButton)comp.GetChild("btnHome"); m_valueBar = (GComponent)comp.GetChild("valueBar"); m_cardSyntheticBtn = (GButton)comp.GetChild("cardSyntheticBtn"); m_hide = comp.GetTransition("hide"); m_show = comp.GetTransition("show"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_compHolder.Dispose(); m_compHolder = null; m_loaBg2 = null; m_loaBg2Pos = null; m_posHelper = null; m_compItemInfo.Dispose(); m_compItemInfo = null; m_txtSuitName = null; m_listMaterias = null; m_listClothing = null; m_btnProduction = null; m_comCostCurrency = null; m_txtProgress = null; m_btnBack = null; m_btnHome = null; m_valueBar = null; m_cardSyntheticBtn = null; m_hide = null; m_show = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }