123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- /** 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 GLoader m_iconBg;
- public GGraph m_downEffect;
- public GLoader m_icon;
- public GLoader m_iconBgDown;
- public GProgressBar m_probar;
- public GTextField m_txtName;
- public GGraph m_topEffect;
- public GGraph m_probarEffect;
- 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_iconBg = (GLoader)comp.GetChild("iconBg");
- m_downEffect = (GGraph)comp.GetChild("downEffect");
- 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_topEffect = (GGraph)comp.GetChild("topEffect");
- m_probarEffect = (GGraph)comp.GetChild("probarEffect");
- m_t_open = comp.GetTransition("t_open");
- m_t_close = comp.GetTransition("t_close");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_loaBg = null;
- m_iconBg = null;
- m_downEffect = null;
- m_icon = null;
- m_iconBgDown = null;
- m_probar = null;
- m_txtName = null;
- m_topEffect = null;
- m_probarEffect = null;
- m_t_open = null;
- m_t_close = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|