/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Studio { public partial class UI_PropertyItem { public GComponent target; public Controller m_star; public GImage m_bg; public GLoader m_loaIcon; public GImage m_lock; public GImage m_imgLock; public GTextField m_txtTitle; public GLoader m_loaBg; public Transition m_test; public const string URL = "ui://xz8kxrecpj8w4j"; public const string PACKAGE_NAME = "Studio"; public const string RES_NAME = "PropertyItem"; private static UI_PropertyItem _proxy; public static UI_PropertyItem Create(GObject gObject = null) { var ui = new UI_PropertyItem(); 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_PropertyItem Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_PropertyItem(); } 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_star = comp.GetController("star"); m_bg = (GImage)comp.GetChild("bg"); m_loaIcon = (GLoader)comp.GetChild("loaIcon"); m_lock = (GImage)comp.GetChild("lock"); m_imgLock = (GImage)comp.GetChild("imgLock"); m_txtTitle = (GTextField)comp.GetChild("txtTitle"); m_loaBg = (GLoader)comp.GetChild("loaBg"); m_test = comp.GetTransition("test"); } public void Dispose(bool disposeTarget = false) { m_star = null; m_bg = null; m_loaIcon = null; m_lock = null; m_imgLock = null; m_txtTitle = null; m_loaBg = null; m_test = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }