123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.ClothingSynthetic
- {
- public partial class UI_ClothingSyntheticUI
- {
- public GComponent target;
- public GLoader m_bg;
- public UI_Component1 m_compHolder;
- public GButton m_btnBack;
- public GButton m_btnHome;
- public GComponent m_valueBar;
- public GTextField m_txtSuitName;
- public UI_CompItemInfo m_compItemInfo;
- public GButton m_btnProduction;
- public GTextField m_txtProgress;
- public GList m_listClothing;
- public GList m_listMaterias;
- public GTextField m_txtCost;
- public const string URL = "ui://4f294tdkj5391";
- public const string PACKAGE_NAME = "ClothingSynthetic";
- public const string RES_NAME = "ClothingSyntheticUI";
- private static UI_ClothingSyntheticUI _proxy;
- public static UI_ClothingSyntheticUI Create(GObject gObject = null)
- {
- var ui = new UI_ClothingSyntheticUI();
- 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_ClothingSyntheticUI Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ClothingSyntheticUI();
- }
- 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_compHolder = (UI_Component1)UI_Component1.Create(comp.GetChild("compHolder"));
- m_btnBack = (GButton)comp.GetChild("btnBack");
- m_btnHome = (GButton)comp.GetChild("btnHome");
- m_valueBar = (GComponent)comp.GetChild("valueBar");
- m_txtSuitName = (GTextField)comp.GetChild("txtSuitName");
- m_compItemInfo = (UI_CompItemInfo)UI_CompItemInfo.Create(comp.GetChild("compItemInfo"));
- m_btnProduction = (GButton)comp.GetChild("btnProduction");
- m_txtProgress = (GTextField)comp.GetChild("txtProgress");
- m_listClothing = (GList)comp.GetChild("listClothing");
- m_listMaterias = (GList)comp.GetChild("listMaterias");
- m_txtCost = (GTextField)comp.GetChild("txtCost");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bg = null;
- m_compHolder.Dispose();
- m_compHolder = null;
- m_btnBack = null;
- m_btnHome = null;
- m_valueBar = null;
- m_txtSuitName = null;
- m_compItemInfo.Dispose();
- m_compItemInfo = null;
- m_btnProduction = null;
- m_txtProgress = null;
- m_listClothing = null;
- m_listMaterias = null;
- m_txtCost = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|