/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.ActivityGetYuanXiao { public partial class UI_ActivityGetYuanXiaoUI { public GComponent target; public Controller m_c1; public GLoader m_loaBg; public GGraph m_bgEffect; public UI_catchers m_catcher; public UI_YuanXiaoParent m_YuanXiaoParent; public GGraph m_end0; public GTextField m_time; public GList m_collectList; public GTextField m_score; public GButton m_btnBack; public GGraph m_start0; public GGraph m_start1; public GGraph m_start2; public GGraph m_start3; public GTextField m_progress; public GTextField m_targetScore; public GGraph m_startEffect; public GGraph m_startLeft; public GGraph m_startRight; public const string URL = "ui://tguohf7ux0ey0"; public const string PACKAGE_NAME = "ActivityGetYuanXiao"; public const string RES_NAME = "ActivityGetYuanXiaoUI"; private static UI_ActivityGetYuanXiaoUI _proxy; public static UI_ActivityGetYuanXiaoUI Create(GObject gObject = null) { var ui = new UI_ActivityGetYuanXiaoUI(); 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_ActivityGetYuanXiaoUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ActivityGetYuanXiaoUI(); } 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_c1 = comp.GetController("c1"); m_loaBg = (GLoader)comp.GetChild("loaBg"); m_bgEffect = (GGraph)comp.GetChild("bgEffect"); m_catcher = (UI_catchers)UI_catchers.Create(comp.GetChild("catcher")); m_YuanXiaoParent = (UI_YuanXiaoParent)UI_YuanXiaoParent.Create(comp.GetChild("YuanXiaoParent")); m_end0 = (GGraph)comp.GetChild("end0"); m_time = (GTextField)comp.GetChild("time"); m_collectList = (GList)comp.GetChild("collectList"); m_score = (GTextField)comp.GetChild("score"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_start0 = (GGraph)comp.GetChild("start0"); m_start1 = (GGraph)comp.GetChild("start1"); m_start2 = (GGraph)comp.GetChild("start2"); m_start3 = (GGraph)comp.GetChild("start3"); m_progress = (GTextField)comp.GetChild("progress"); m_targetScore = (GTextField)comp.GetChild("targetScore"); m_startEffect = (GGraph)comp.GetChild("startEffect"); m_startLeft = (GGraph)comp.GetChild("startLeft"); m_startRight = (GGraph)comp.GetChild("startRight"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_loaBg = null; m_bgEffect = null; m_catcher.Dispose(); m_catcher = null; m_YuanXiaoParent.Dispose(); m_YuanXiaoParent = null; m_end0 = null; m_time = null; m_collectList = null; m_score = null; m_btnBack = null; m_start0 = null; m_start1 = null; m_start2 = null; m_start3 = null; m_progress = null; m_targetScore = null; m_startEffect = null; m_startLeft = null; m_startRight = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }