123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107 |
- /** 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 GComponent m_valueBar;
- public GButton m_btnBack;
- public UI_ButtonModle7 m_btn1;
- public UI_ButtonModle9 m_btnStudio;
- public UI_ButtonModle9 m_btnTravel;
- public UI_ButtonModle8 m_btnPoem;
- public UI_ButtonModle9 m_btnField;
- public UI_ButtonModle8 m_btnArena;
- public GGroup m_grpRight;
- public GLoader m_loaGuidestudio;
- 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_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_ButtonModle8)UI_ButtonModle8.Create(comp.GetChild("btnPoem"));
- m_btnField = (UI_ButtonModle9)UI_ButtonModle9.Create(comp.GetChild("btnField"));
- m_btnArena = (UI_ButtonModle8)UI_ButtonModle8.Create(comp.GetChild("btnArena"));
- m_grpRight = (GGroup)comp.GetChild("grpRight");
- m_loaGuidestudio = (GLoader)comp.GetChild("loaGuidestudio");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = 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_grpRight = null;
- m_loaGuidestudio = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|