|
@@ -0,0 +1,83 @@
|
|
|
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
+
|
|
|
+using FairyGUI;
|
|
|
+
|
|
|
+namespace UI.Studio
|
|
|
+{
|
|
|
+ public partial class UI_StudioUI
|
|
|
+ {
|
|
|
+ public GComponent target;
|
|
|
+ public GButton m_btnBack;
|
|
|
+ public GComponent m_comMetal;
|
|
|
+ public GComponent m_comFabric;
|
|
|
+ public GComponent m_ComScore;
|
|
|
+ public GComponent m_comFiling;
|
|
|
+ public const string URL = "ui://xz8kxrecrbxq0";
|
|
|
+ public const string PACKAGE_NAME = "Studio";
|
|
|
+ public const string RES_NAME = "StudioUI";
|
|
|
+ private static UI_StudioUI _proxy;
|
|
|
+
|
|
|
+ public static UI_StudioUI Create(GObject gObject = null)
|
|
|
+ {
|
|
|
+ var ui = new UI_StudioUI();
|
|
|
+ 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_StudioUI Proxy(GObject gObject = null)
|
|
|
+ {
|
|
|
+ if(_proxy == null)
|
|
|
+ {
|
|
|
+ _proxy = new UI_StudioUI();
|
|
|
+ }
|
|
|
+ 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_btnBack = (GButton)comp.GetChild("btnBack");
|
|
|
+ m_comMetal = (GComponent)comp.GetChild("comMetal");
|
|
|
+ m_comFabric = (GComponent)comp.GetChild("comFabric");
|
|
|
+ m_ComScore = (GComponent)comp.GetChild("ComScore");
|
|
|
+ m_comFiling = (GComponent)comp.GetChild("comFiling");
|
|
|
+ }
|
|
|
+ public void Dispose(bool disposeTarget = false)
|
|
|
+ {
|
|
|
+ m_btnBack = null;
|
|
|
+ m_comMetal = null;
|
|
|
+ m_comFabric = null;
|
|
|
+ m_ComScore = null;
|
|
|
+ m_comFiling = null;
|
|
|
+ if(disposeTarget && target != null)
|
|
|
+ {
|
|
|
+ target.RemoveFromParent();
|
|
|
+ target.Dispose();
|
|
|
+ }
|
|
|
+ target = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|