/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.LuckyBox { public partial class UI_ComCard { public GComponent target; public GGraph m_holder; public GGraph m_holder1; public GLoader m_loaIcon; public GTextField m_txtDiscribe; public GLoader m_loaType; public GLoader m_loaProperty; public GTextField m_txtName; public GGraph m_holder_get; public Transition m_card_in; public const string URL = "ui://drx9d1usqdrt1a"; public const string PACKAGE_NAME = "LuckyBox"; public const string RES_NAME = "ComCard"; private static UI_ComCard _proxy; public static UI_ComCard Create(GObject gObject = null) { var ui = new UI_ComCard(); 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_ComCard Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComCard(); } 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_holder = (GGraph)comp.GetChild("holder"); m_holder1 = (GGraph)comp.GetChild("holder1"); m_loaIcon = (GLoader)comp.GetChild("loaIcon"); m_txtDiscribe = (GTextField)comp.GetChild("txtDiscribe"); m_loaType = (GLoader)comp.GetChild("loaType"); m_loaProperty = (GLoader)comp.GetChild("loaProperty"); m_txtName = (GTextField)comp.GetChild("txtName"); m_holder_get = (GGraph)comp.GetChild("holder_get"); m_card_in = comp.GetTransition("card_in"); } public void Dispose(bool disposeTarget = false) { m_holder = null; m_holder1 = null; m_loaIcon = null; m_txtDiscribe = null; m_loaType = null; m_loaProperty = null; m_txtName = null; m_holder_get = null; m_card_in = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }