/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Main { public partial class UI_ComResult { public GComponent target; public Controller m_c1; public GGraph m_holderScore; public GTextField m_txtScore; public GGraph m_holderResult0; public GGraph m_holderResult1; public GGraph m_holderResult2; public GGraph m_holderResult3; public GGraph m_holderStar1; public GGraph m_holderStar2; public GGraph m_holderStar3; public Transition m_t0; public Transition m_t1; public const string URL = "ui://mfvz4q8kwonogf"; public const string PACKAGE_NAME = "Main"; public const string RES_NAME = "ComResult"; private static UI_ComResult _proxy; public static UI_ComResult Create(GObject gObject = null) { var ui = new UI_ComResult(); 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_ComResult Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComResult(); } 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_holderScore = (GGraph)comp.GetChild("holderScore"); m_txtScore = (GTextField)comp.GetChild("txtScore"); m_holderResult0 = (GGraph)comp.GetChild("holderResult0"); m_holderResult1 = (GGraph)comp.GetChild("holderResult1"); m_holderResult2 = (GGraph)comp.GetChild("holderResult2"); m_holderResult3 = (GGraph)comp.GetChild("holderResult3"); m_holderStar1 = (GGraph)comp.GetChild("holderStar1"); m_holderStar2 = (GGraph)comp.GetChild("holderStar2"); m_holderStar3 = (GGraph)comp.GetChild("holderStar3"); m_t0 = comp.GetTransition("t0"); m_t1 = comp.GetTransition("t1"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_holderScore = null; m_txtScore = null; m_holderResult0 = null; m_holderResult1 = null; m_holderResult2 = null; m_holderResult3 = null; m_holderStar1 = null; m_holderStar2 = null; m_holderStar3 = null; m_t0 = null; m_t1 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }