123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Main
- {
- public partial class UI_RoleInfoUI
- {
- public GComponent target;
- public GLoader m_bg;
- public GTextField m_txtTitle;
- public GTextField m_txtRoleName;
- public GTextField m_txtLvl;
- public GProgressBar m_proBarExp;
- public GButton m_btnSound;
- public GButton m_btnMusic;
- public GButton m_btnLogout;
- public GButton m_btnExit;
- public GButton m_btnHelp;
- public GTextField m_txtVersion;
- public const string URL = "ui://mfvz4q8kd4iw6k";
- public const string PACKAGE_NAME = "Main";
- public const string RES_NAME = "RoleInfoUI";
- private static UI_RoleInfoUI _proxy;
- public static UI_RoleInfoUI Create(GObject gObject = null)
- {
- var ui = new UI_RoleInfoUI();
- 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_RoleInfoUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_RoleInfoUI();
- }
- 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_bg = (GLoader)comp.GetChild("bg");
- m_txtTitle = (GTextField)comp.GetChild("txtTitle");
- m_txtRoleName = (GTextField)comp.GetChild("txtRoleName");
- m_txtLvl = (GTextField)comp.GetChild("txtLvl");
- m_proBarExp = (GProgressBar)comp.GetChild("proBarExp");
- m_btnSound = (GButton)comp.GetChild("btnSound");
- m_btnMusic = (GButton)comp.GetChild("btnMusic");
- m_btnLogout = (GButton)comp.GetChild("btnLogout");
- m_btnExit = (GButton)comp.GetChild("btnExit");
- m_btnHelp = (GButton)comp.GetChild("btnHelp");
- m_txtVersion = (GTextField)comp.GetChild("txtVersion");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_txtTitle = null;
- m_txtRoleName = null;
- m_txtLvl = null;
- m_proBarExp = null;
- m_btnSound = null;
- m_btnMusic = null;
- m_btnLogout = null;
- m_btnExit = null;
- m_btnHelp = null;
- m_txtVersion = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|