/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Main { public partial class UI_ComRoleSkill1 { public GComponent target; public Controller m_c1; public GTextField m_txtResult; public GTextField m_txtScore; public Transition m_t0; public Transition m_t1; public const string URL = "ui://mfvz4q8klki4db"; public const string PACKAGE_NAME = "Main"; public const string RES_NAME = "ComRoleSkill1"; private static UI_ComRoleSkill1 _proxy; public static UI_ComRoleSkill1 Create(GObject gObject = null) { var ui = new UI_ComRoleSkill1(); 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_ComRoleSkill1 Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_ComRoleSkill1(); } 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_txtResult = (GTextField)comp.GetChild("txtResult"); m_txtScore = (GTextField)comp.GetChild("txtScore"); m_t0 = comp.GetTransition("t0"); m_t1 = comp.GetTransition("t1"); } public void Dispose(bool disposeTarget = false) { m_c1 = null; m_txtResult = null; m_txtScore = null; m_t0 = null; m_t1 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }