/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.CreateRole { public partial class UI_NewRoleGetSuitUI { public GComponent target; public GLoader m_bg; public GButton m_suit1; public GButton m_suit2; public GButton m_suit3; public GLoader m_btnDress; public Transition m_t0; public const string URL = "ui://5al8chbdckqpp"; public const string PACKAGE_NAME = "CreateRole"; public const string RES_NAME = "NewRoleGetSuitUI"; private static UI_NewRoleGetSuitUI _proxy; public static UI_NewRoleGetSuitUI Create(GObject gObject = null) { var ui = new UI_NewRoleGetSuitUI(); 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_NewRoleGetSuitUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_NewRoleGetSuitUI(); } 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_bg = (GLoader)comp.GetChild("bg"); m_suit1 = (GButton)comp.GetChild("suit1"); m_suit2 = (GButton)comp.GetChild("suit2"); m_suit3 = (GButton)comp.GetChild("suit3"); m_btnDress = (GLoader)comp.GetChild("btnDress"); m_t0 = comp.GetTransition("t0"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_suit1 = null; m_suit2 = null; m_suit3 = null; m_btnDress = null; m_t0 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }