/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.Main { public partial class UI_CompChapter { public GComponent target; public GImage m_imgBegin; public UI_CompStoryLevelItem m_g00; public UI_CompStoryLevelItem m_g01; public UI_CompStoryLevelItem m_g02; public UI_CompStoryLevelItem m_g03; public UI_CompStoryLevelItem m_g04; public UI_CompStoryLevelItem m_g05; public UI_CompStoryLevelItem m_g06; public UI_CompStoryLevelItem m_g07; public UI_CompStoryLevelItem m_g08; public UI_CompStoryLevelItem m_g09; public UI_CompStoryLevelItem m_g010; public UI_CompStoryLevelItem m_g011; public UI_CompStoryLevelItem m_g012; public UI_CompStoryLevelItem m_g013; public UI_CompStoryLevelItem m_g014; public UI_CompStoryLevelItem m_g015; public UI_CompStoryLevelItem m_g016; public UI_CompStoryLevelItem m_g017; public UI_CompStoryLevelItem m_g018; public UI_CompStoryLevelItem m_g019; public UI_CompStoryLevelItem m_g020; public GGraph m_grh19_1; public GGraph m_grh18_0; public GGraph m_grh17_0; public GGraph m_grh16_1; public GGraph m_grh15_1; public GGraph m_grh14_0; public GGraph m_grh13_0; public GGraph m_grh12_1; public GGraph m_grh11_1; public GGraph m_grh10_0; public GGraph m_grh9_0; public GGraph m_grh8_0; public GGraph m_grh7_0; public GGraph m_grh6_0; public GGraph m_grh5_0; public GGraph m_grh4_1; public GGraph m_grh3_0; public GGraph m_grh2_0; public GGraph m_grh1_0; public GGraph m_grh0_0; public const string URL = "ui://mfvz4q8ko4m7fr7"; public const string PACKAGE_NAME = "Main"; public const string RES_NAME = "CompChapter"; private static UI_CompChapter _proxy; public static UI_CompChapter Create(GObject gObject = null) { var ui = new UI_CompChapter(); 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_CompChapter Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_CompChapter(); } 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_imgBegin = (GImage)comp.GetChild("imgBegin"); m_g00 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g00")); m_g01 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g01")); m_g02 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g02")); m_g03 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g03")); m_g04 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g04")); m_g05 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g05")); m_g06 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g06")); m_g07 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g07")); m_g08 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g08")); m_g09 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g09")); m_g010 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g010")); m_g011 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g011")); m_g012 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g012")); m_g013 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g013")); m_g014 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g014")); m_g015 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g015")); m_g016 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g016")); m_g017 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g017")); m_g018 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g018")); m_g019 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g019")); m_g020 = (UI_CompStoryLevelItem)UI_CompStoryLevelItem.Create(comp.GetChild("g020")); m_grh19_1 = (GGraph)comp.GetChild("grh19_1"); m_grh18_0 = (GGraph)comp.GetChild("grh18_0"); m_grh17_0 = (GGraph)comp.GetChild("grh17_0"); m_grh16_1 = (GGraph)comp.GetChild("grh16_1"); m_grh15_1 = (GGraph)comp.GetChild("grh15_1"); m_grh14_0 = (GGraph)comp.GetChild("grh14_0"); m_grh13_0 = (GGraph)comp.GetChild("grh13_0"); m_grh12_1 = (GGraph)comp.GetChild("grh12_1"); m_grh11_1 = (GGraph)comp.GetChild("grh11_1"); m_grh10_0 = (GGraph)comp.GetChild("grh10_0"); m_grh9_0 = (GGraph)comp.GetChild("grh9_0"); m_grh8_0 = (GGraph)comp.GetChild("grh8_0"); m_grh7_0 = (GGraph)comp.GetChild("grh7_0"); m_grh6_0 = (GGraph)comp.GetChild("grh6_0"); m_grh5_0 = (GGraph)comp.GetChild("grh5_0"); m_grh4_1 = (GGraph)comp.GetChild("grh4_1"); m_grh3_0 = (GGraph)comp.GetChild("grh3_0"); m_grh2_0 = (GGraph)comp.GetChild("grh2_0"); m_grh1_0 = (GGraph)comp.GetChild("grh1_0"); m_grh0_0 = (GGraph)comp.GetChild("grh0_0"); } public void Dispose(bool disposeTarget = false) { m_imgBegin = null; m_g00.Dispose(); m_g00 = null; m_g01.Dispose(); m_g01 = null; m_g02.Dispose(); m_g02 = null; m_g03.Dispose(); m_g03 = null; m_g04.Dispose(); m_g04 = null; m_g05.Dispose(); m_g05 = null; m_g06.Dispose(); m_g06 = null; m_g07.Dispose(); m_g07 = null; m_g08.Dispose(); m_g08 = null; m_g09.Dispose(); m_g09 = null; m_g010.Dispose(); m_g010 = null; m_g011.Dispose(); m_g011 = null; m_g012.Dispose(); m_g012 = null; m_g013.Dispose(); m_g013 = null; m_g014.Dispose(); m_g014 = null; m_g015.Dispose(); m_g015 = null; m_g016.Dispose(); m_g016 = null; m_g017.Dispose(); m_g017 = null; m_g018.Dispose(); m_g018 = null; m_g019.Dispose(); m_g019 = null; m_g020.Dispose(); m_g020 = null; m_grh19_1 = null; m_grh18_0 = null; m_grh17_0 = null; m_grh16_1 = null; m_grh15_1 = null; m_grh14_0 = null; m_grh13_0 = null; m_grh12_1 = null; m_grh11_1 = null; m_grh10_0 = null; m_grh9_0 = null; m_grh8_0 = null; m_grh7_0 = null; m_grh6_0 = null; m_grh5_0 = null; m_grh4_1 = null; m_grh3_0 = null; m_grh2_0 = null; m_grh1_0 = null; m_grh0_0 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }