/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ClothingFoster { public partial class UI_SuitUI { public GComponent target; public Controller m_c1; public GLoader m_bg; public GButton m_btnBack; public GGraph m_holder; public GTextField m_txtName; public GLoader m_loaRarity; public GLoader m_btnRight; public GLoader m_btnLeft; public GButton m_btnFoster; public GButton m_btnRenew; public UI_Button7 m_btnGet; public GButton m_btnPropertyShow; public GList m_listProperty; public GList m_listFoster; public const string URL = "ui://uicwtr5bpy5gf"; public const string PACKAGE_NAME = "ClothingFoster"; public const string RES_NAME = "SuitUI"; private static UI_SuitUI _proxy; public static UI_SuitUI Create(GObject gObject = null) { var ui = new UI_SuitUI(); 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_SuitUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_SuitUI(); } 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_c1 = comp.GetController("c1"); m_bg = (GLoader)comp.GetChild("bg"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_holder = (GGraph)comp.GetChild("holder"); m_txtName = (GTextField)comp.GetChild("txtName"); m_loaRarity = (GLoader)comp.GetChild("loaRarity"); m_btnRight = (GLoader)comp.GetChild("btnRight"); m_btnLeft = (GLoader)comp.GetChild("btnLeft"); m_btnFoster = (GButton)comp.GetChild("btnFoster"); m_btnRenew = (GButton)comp.GetChild("btnRenew"); m_btnGet = (UI_Button7)UI_Button7.Create(comp.GetChild("btnGet")); m_btnPropertyShow = (GButton)comp.GetChild("btnPropertyShow"); m_listProperty = (GList)comp.GetChild("listProperty"); m_listFoster = (GList)comp.GetChild("listFoster"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_bg = null; m_btnBack = null; m_holder = null; m_txtName = null; m_loaRarity = null; m_btnRight = null; m_btnLeft = null; m_btnFoster = null; m_btnRenew = null; m_btnGet.Dispose(); m_btnGet = null; m_btnPropertyShow = null; m_listProperty = null; m_listFoster = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }