|
@@ -0,0 +1,95 @@
|
|
|
+/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
+
|
|
|
+using FairyGUI;
|
|
|
+
|
|
|
+namespace UI.CommonGame
|
|
|
+{
|
|
|
+ public partial class UI_SuitItemUI
|
|
|
+ {
|
|
|
+ public GComponent target;
|
|
|
+ public GLoader m_loaBg;
|
|
|
+ public GGraph m_iconEffect;
|
|
|
+ public GLoader m_iconBg;
|
|
|
+ public GLoader m_icon;
|
|
|
+ public GLoader m_iconBgDown;
|
|
|
+ public GProgressBar m_probar;
|
|
|
+ public GTextField m_txtName;
|
|
|
+ public Transition m_t_open;
|
|
|
+ public Transition m_t_close;
|
|
|
+ public const string URL = "ui://eg2y0ldpcbywtqq";
|
|
|
+ public const string PACKAGE_NAME = "CommonGame";
|
|
|
+ public const string RES_NAME = "SuitItemUI";
|
|
|
+ private static UI_SuitItemUI _proxy;
|
|
|
+
|
|
|
+ public static UI_SuitItemUI Create(GObject gObject = null)
|
|
|
+ {
|
|
|
+ var ui = new UI_SuitItemUI();
|
|
|
+ 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_SuitItemUI Proxy(GObject gObject = null)
|
|
|
+ {
|
|
|
+ if(_proxy == null)
|
|
|
+ {
|
|
|
+ _proxy = new UI_SuitItemUI();
|
|
|
+ }
|
|
|
+ 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_loaBg = (GLoader)comp.GetChild("loaBg");
|
|
|
+ m_iconEffect = (GGraph)comp.GetChild("iconEffect");
|
|
|
+ m_iconBg = (GLoader)comp.GetChild("iconBg");
|
|
|
+ m_icon = (GLoader)comp.GetChild("icon");
|
|
|
+ m_iconBgDown = (GLoader)comp.GetChild("iconBgDown");
|
|
|
+ m_probar = (GProgressBar)comp.GetChild("probar");
|
|
|
+ m_txtName = (GTextField)comp.GetChild("txtName");
|
|
|
+ m_t_open = comp.GetTransition("t_open");
|
|
|
+ m_t_close = comp.GetTransition("t_close");
|
|
|
+ }
|
|
|
+ public void Dispose(bool disposeTarget = false)
|
|
|
+ {
|
|
|
+ m_loaBg = null;
|
|
|
+ m_iconEffect = null;
|
|
|
+ m_iconBg = null;
|
|
|
+ m_icon = null;
|
|
|
+ m_iconBgDown = null;
|
|
|
+ m_probar = null;
|
|
|
+ m_txtName = null;
|
|
|
+ m_t_open = null;
|
|
|
+ m_t_close = null;
|
|
|
+ if(disposeTarget && target != null)
|
|
|
+ {
|
|
|
+ target.RemoveFromParent();
|
|
|
+ target.Dispose();
|
|
|
+ }
|
|
|
+ target = null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|