/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Main { public partial class UI_StorySkillUI { public GComponent target; public GImage m_bg; public UI_ComSkillShow m_comSkillShow; public GGraph m_effReduceScore; public GTextField m_reduceTxt; public GGraph m_addScore; public GGraph m_reduceScore; public GTextField m_SkillScore; public Transition m_t1; public Transition m_t2; public Transition m_t3; public Transition m_t4; public const string URL = "ui://mfvz4q8kpy009l"; public const string PACKAGE_NAME = "Main"; public const string RES_NAME = "StorySkillUI"; private static UI_StorySkillUI _proxy; public static UI_StorySkillUI Create(GObject gObject = null) { var ui = new UI_StorySkillUI(); 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_StorySkillUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_StorySkillUI(); } 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_bg = (GImage)comp.GetChild("bg"); m_comSkillShow = (UI_ComSkillShow)UI_ComSkillShow.Create(comp.GetChild("comSkillShow")); m_effReduceScore = (GGraph)comp.GetChild("effReduceScore"); m_reduceTxt = (GTextField)comp.GetChild("reduceTxt"); m_addScore = (GGraph)comp.GetChild("addScore"); m_reduceScore = (GGraph)comp.GetChild("reduceScore"); m_SkillScore = (GTextField)comp.GetChild("SkillScore"); m_t1 = comp.GetTransition("t1"); m_t2 = comp.GetTransition("t2"); m_t3 = comp.GetTransition("t3"); m_t4 = comp.GetTransition("t4"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_comSkillShow.Dispose(); m_comSkillShow = null; m_effReduceScore = null; m_reduceTxt = null; m_addScore = null; m_reduceScore = null; m_SkillScore = null; m_t1 = null; m_t2 = null; m_t3 = null; m_t4 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }