123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Main
- {
- public partial class UI_MainUI
- {
- public GComponent target;
- public Controller m_c1;
- public UI_ComponentHeadBar m_headBar;
- public GComponent m_valueBar;
- public UI_ButtonModle1 m_btnXiuFang;
- public UI_ButtonModle1 m_btnMain;
- public UI_ButtonModle1 m_btnHuanZhuang;
- public UI_ButtonModle1 m_btnZhaiXing;
- public UI_ButtonModle1 m_btnCiPai;
- public UI_ButtonModle1 m_btnStudio;
- public UI_ButtonModle1 m_btnField;
- public GList m_list;
- public GButton m_btnChange;
- public const string URL = "ui://mfvz4q8kq08x0";
- public const string PACKAGE_NAME = "Main";
- public const string RES_NAME = "MainUI";
- private static UI_MainUI _proxy;
- public static UI_MainUI Create(GObject gObject = null)
- {
- var ui = new UI_MainUI();
- 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_MainUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_MainUI();
- }
- 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_c1 = comp.GetController("c1");
- m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
- m_valueBar = (GComponent)comp.GetChild("valueBar");
- m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
- m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
- m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
- m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
- m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
- m_btnStudio = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnStudio"));
- m_btnField = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnField"));
- m_list = (GList)comp.GetChild("list");
- m_btnChange = (GButton)comp.GetChild("btnChange");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_headBar.Dispose();
- m_headBar = null;
- m_valueBar = null;
- m_btnXiuFang.Dispose();
- m_btnXiuFang = null;
- m_btnMain.Dispose();
- m_btnMain = null;
- m_btnHuanZhuang.Dispose();
- m_btnHuanZhuang = null;
- m_btnZhaiXing.Dispose();
- m_btnZhaiXing = null;
- m_btnCiPai.Dispose();
- m_btnCiPai = null;
- m_btnStudio.Dispose();
- m_btnStudio = null;
- m_btnField.Dispose();
- m_btnField = null;
- m_list = null;
- m_btnChange = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|