/** This is an automatically generated class by FairyGUI. Please do not modify it. **/ using FairyGUI; namespace UI.InstanceZones { public partial class UI_InstanceZonesUI { public GComponent target; public GLoader m_loaBg; public GGraph m_bg_eff; public GGraph m_fish_eff; public GComponent m_valueBar; public GButton m_btnBack; public UI_ButtonModle7 m_btn1; public UI_ButtonModle9 m_btnStudio; public UI_ButtonModle9 m_btnTravel; public UI_ButtonModle9 m_btnPoem; public UI_ButtonModle9 m_btnField; public UI_ButtonModle9 m_btnArena; public GGraph m_eff; public Transition m_t0; public const string URL = "ui://ez8qotvcyeocfv0"; public const string PACKAGE_NAME = "InstanceZones"; public const string RES_NAME = "InstanceZonesUI"; private static UI_InstanceZonesUI _proxy; public static UI_InstanceZonesUI Create(GObject gObject = null) { var ui = new UI_InstanceZonesUI(); 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_InstanceZonesUI Proxy(GObject gObject = null) { if(_proxy == null) { _proxy = new UI_InstanceZonesUI(); } 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_loaBg = (GLoader)comp.GetChild("loaBg"); m_bg_eff = (GGraph)comp.GetChild("bg_eff"); m_fish_eff = (GGraph)comp.GetChild("fish_eff"); m_valueBar = (GComponent)comp.GetChild("valueBar"); m_btnBack = (GButton)comp.GetChild("btnBack"); m_btn1 = (UI_ButtonModle7)UI_ButtonModle7.Create(comp.GetChild("btn1")); m_btnStudio = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnStudio")); m_btnTravel = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnTravel")); m_btnPoem = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnPoem")); m_btnField = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnField")); m_btnArena = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnArena")); m_eff = (GGraph)comp.GetChild("eff"); m_t0 = comp.GetTransition("t0"); } public void Dispose(bool disposeTarget = false) { m_loaBg = null; m_bg_eff = null; m_fish_eff = null; m_valueBar = null; m_btnBack = null; m_btn1.Dispose(); m_btn1 = null; m_btnStudio.Dispose(); m_btnStudio = null; m_btnTravel.Dispose(); m_btnTravel = null; m_btnPoem.Dispose(); m_btnPoem = null; m_btnField.Dispose(); m_btnField = null; m_btnArena.Dispose(); m_btnArena = null; m_eff = null; m_t0 = null; if(disposeTarget && target != null) { target.RemoveFromParent(); target.Dispose(); } target = null; } } }