123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Launcher
- {
- public partial class UI_LauncherUI
- {
- public GComponent target;
- public GImage m_bg;
- public GTextField m_txtVersion;
- public GImage m_imgLogo;
- public GTextField m_txtDescRight;
- public GTextField m_txtDescLeft;
- public UI_ProgressBar m_progressBar1;
- public GGroup m_groupBar;
- public const string URL = "ui://mgs5yrnjl55o1";
- public const string PACKAGE_NAME = "Launcher";
- public const string RES_NAME = "LauncherUI";
- private static UI_LauncherUI _proxy;
- public static UI_LauncherUI Create(GObject gObject = null)
- {
- var ui = new UI_LauncherUI();
- 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_LauncherUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_LauncherUI();
- }
- 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 = (GImage)comp.GetChild("bg");
- m_txtVersion = (GTextField)comp.GetChild("txtVersion");
- m_imgLogo = (GImage)comp.GetChild("imgLogo");
- m_txtDescRight = (GTextField)comp.GetChild("txtDescRight");
- m_txtDescLeft = (GTextField)comp.GetChild("txtDescLeft");
- m_progressBar1 = (UI_ProgressBar)UI_ProgressBar.Create(comp.GetChild("progressBar1"));
- m_groupBar = (GGroup)comp.GetChild("groupBar");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_txtVersion = null;
- m_imgLogo = null;
- m_txtDescRight = null;
- m_txtDescLeft = null;
- m_progressBar1.Dispose();
- m_progressBar1 = null;
- m_groupBar = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|