/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.League { public partial class UI_ButtonModle6 { public GButton target; public GGraph m_holder; public GGraph m_holder1; public GGraph m_effect; public GLoader m_icon1; public GLoader m_loaLockIcon; public Transition m_t0; public const string URL = "ui://tw70qm9du2u314"; public const string PACKAGE_NAME = "League"; public const string RES_NAME = "ButtonModle6"; private static UI_ButtonModle6 _proxy; public static UI_ButtonModle6 Create(GObject gObject = null) { var ui = new UI_ButtonModle6(); if(gObject == null) ui.target = (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GButton)gObject; ui.Init(ui.target); return ui; } public static UI_ButtonModle6 Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ButtonModle6(); } var ui = _proxy; if(gObject == null) ui.target = (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME); else ui.target = (GButton)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_effect = (GGraph)comp.GetChild("effect"); m_icon1 = (GLoader)comp.GetChild("icon1"); m_loaLockIcon = (GLoader)comp.GetChild("loaLockIcon"); m_t0 = comp.GetTransition("t0"); } public void Dispose(bool disposeTarget = false) { m_holder = null; m_holder1 = null; m_effect = null; m_icon1 = null; m_loaLockIcon = null; m_t0 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }