123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- /** 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 GComponent m_valueBar;
- public GList m_list;
- public UI_ButtonChange m_btnChange;
- public GGroup m_grpList;
- public UI_ComponentHeadBar m_headBar;
- public UI_Button2 m_btnDailyLogin;
- public UI_ButtonModle1 m_btnHuanZhuang;
- public UI_ButtonModle1 m_btnXiuFang;
- public UI_ButtonModle1 m_btnCiPai;
- public UI_ButtonModle1 m_btnZhaiXing;
- public UI_ButtonModle1 m_btnMain;
- public GGroup m_grpLeft;
- public UI_ButtonModle1 m_btnStudio;
- public UI_ButtonModle1 m_btnField;
- public UI_ButtonModle1 m_btnPoem;
- public UI_ButtonModle1 m_btnTravel;
- public GGroup m_grpRight;
- public GGroup m_grpMove;
- public Transition m_t1;
- public Transition m_t2;
- 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_valueBar = (GComponent)comp.GetChild("valueBar");
- m_list = (GList)comp.GetChild("list");
- m_btnChange = (UI_ButtonChange)UI_ButtonChange.Create(comp.GetChild("btnChange"));
- m_grpList = (GGroup)comp.GetChild("grpList");
- m_headBar = (UI_ComponentHeadBar)UI_ComponentHeadBar.Create(comp.GetChild("headBar"));
- m_btnDailyLogin = (UI_Button2)UI_Button2.Create(comp.GetChild("btnDailyLogin"));
- m_btnHuanZhuang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnHuanZhuang"));
- m_btnXiuFang = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnXiuFang"));
- m_btnCiPai = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnCiPai"));
- m_btnZhaiXing = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnZhaiXing"));
- m_btnMain = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnMain"));
- m_grpLeft = (GGroup)comp.GetChild("grpLeft");
- m_btnStudio = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnStudio"));
- m_btnField = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnField"));
- m_btnPoem = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnPoem"));
- m_btnTravel = (UI_ButtonModle1)UI_ButtonModle1.Create(comp.GetChild("btnTravel"));
- m_grpRight = (GGroup)comp.GetChild("grpRight");
- m_grpMove = (GGroup)comp.GetChild("grpMove");
- m_t1 = comp.GetTransition("t1");
- m_t2 = comp.GetTransition("t2");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_valueBar = null;
- m_list = null;
- m_btnChange.Dispose();
- m_btnChange = null;
- m_grpList = null;
- m_headBar.Dispose();
- m_headBar = null;
- m_btnDailyLogin.Dispose();
- m_btnDailyLogin = null;
- m_btnHuanZhuang.Dispose();
- m_btnHuanZhuang = null;
- m_btnXiuFang.Dispose();
- m_btnXiuFang = null;
- m_btnCiPai.Dispose();
- m_btnCiPai = null;
- m_btnZhaiXing.Dispose();
- m_btnZhaiXing = null;
- m_btnMain.Dispose();
- m_btnMain = null;
- m_grpLeft = null;
- m_btnStudio.Dispose();
- m_btnStudio = null;
- m_btnField.Dispose();
- m_btnField = null;
- m_btnPoem.Dispose();
- m_btnPoem = null;
- m_btnTravel.Dispose();
- m_btnTravel = null;
- m_grpRight = null;
- m_grpMove = null;
- m_t1 = null;
- m_t2 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|