|
@@ -0,0 +1,85 @@
|
|
|
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
+
|
|
|
+using FairyGUI;
|
|
|
+
|
|
|
+namespace UI.RoleLvUp
|
|
|
+{
|
|
|
+ public partial class UI_RoleLvUpUI
|
|
|
+ {
|
|
|
+ public GComponent target;
|
|
|
+ public GTextField m_txtLv;
|
|
|
+ public GTextField m_txtLastLv;
|
|
|
+ public GTextField m_txtCurLv;
|
|
|
+ public UI_Component1 m_com0;
|
|
|
+ public UI_Component2 m_com1;
|
|
|
+ public const string URL = "ui://ns2d6qb2mueb0";
|
|
|
+ public const string PACKAGE_NAME = "RoleLvUp";
|
|
|
+ public const string RES_NAME = "RoleLvUpUI";
|
|
|
+ private static UI_RoleLvUpUI _proxy;
|
|
|
+
|
|
|
+ public static UI_RoleLvUpUI Create(GObject gObject = null)
|
|
|
+ {
|
|
|
+ var ui = new UI_RoleLvUpUI();
|
|
|
+ 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_RoleLvUpUI Proxy(GObject gObject = null)
|
|
|
+ {
|
|
|
+ if(_proxy == null)
|
|
|
+ {
|
|
|
+ _proxy = new UI_RoleLvUpUI();
|
|
|
+ }
|
|
|
+ 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_txtLv = (GTextField)comp.GetChild("txtLv");
|
|
|
+ m_txtLastLv = (GTextField)comp.GetChild("txtLastLv");
|
|
|
+ m_txtCurLv = (GTextField)comp.GetChild("txtCurLv");
|
|
|
+ m_com0 = (UI_Component1)UI_Component1.Create(comp.GetChild("com0"));
|
|
|
+ m_com1 = (UI_Component2)UI_Component2.Create(comp.GetChild("com1"));
|
|
|
+ }
|
|
|
+ public void Dispose(bool disposeTarget = false)
|
|
|
+ {
|
|
|
+ m_txtLv = null;
|
|
|
+ m_txtLastLv = null;
|
|
|
+ m_txtCurLv = null;
|
|
|
+ m_com0.Dispose();
|
|
|
+ m_com0 = null;
|
|
|
+ m_com1.Dispose();
|
|
|
+ m_com1 = null;
|
|
|
+ if(disposeTarget && target != null)
|
|
|
+ {
|
|
|
+ target.RemoveFromParent();
|
|
|
+ target.Dispose();
|
|
|
+ }
|
|
|
+ target = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|