/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ActivityGetYuanXiao { public partial class UI_catchers { public GComponent target; public Controller m_c2; public GGraph m_catcher; public GLoader m_catcherImg; public GLoader m_catcherImg2; public GGraph m_getEffect; public UI_flyScore m_flyscore; public GGroup m_catchers; public const string URL = "ui://tguohf7uqkvg1a"; public const string PACKAGE_NAME = "ActivityGetYuanXiao"; public const string RES_NAME = "catchers"; private static UI_catchers _proxy; public static UI_catchers Create(GObject gObject = null) { var ui = new UI_catchers(); 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_catchers Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_catchers(); } 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_c2 = comp.GetController("c2"); m_catcher = (GGraph)comp.GetChild("catcher"); m_catcherImg = (GLoader)comp.GetChild("catcherImg"); m_catcherImg2 = (GLoader)comp.GetChild("catcherImg2"); m_getEffect = (GGraph)comp.GetChild("getEffect"); m_flyscore = (UI_flyScore)UI_flyScore.Create(comp.GetChild("flyscore")); m_catchers = (GGroup)comp.GetChild("catchers"); } public void Dispose(bool disposeTarget = false) { m_c2 = null; m_catcher = null; m_catcherImg = null; m_catcherImg2 = null; m_getEffect = null; m_flyscore.Dispose(); m_flyscore = null; m_catchers = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }