/** 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 Transition m_t1; public Transition m_t2; 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_t1 = comp.GetTransition("t1"); m_t2 = comp.GetTransition("t2"); } public void Dispose(bool disposeTarget = false) { m_bg = null; m_comSkillShow.Dispose(); m_comSkillShow = null; m_effReduceScore = null; m_t1 = null; m_t2 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }