123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.Studio
- {
- public partial class UI_ComProperty
- {
- public GComponent target;
- public Controller m_c1;
- public GLoader m_loaBg;
- public GList m_list;
- public GTextField m_txtNum;
- public GButton m_btnBuy;
- public GLoader m_btnChageLine;
- public GTextField m_txtTime;
- public GButton m_btn0;
- public GButton m_btn1;
- public GButton m_btn2;
- public GButton m_btn3;
- public const string URL = "ui://xz8kxrecf2bf2z";
- public const string PACKAGE_NAME = "Studio";
- public const string RES_NAME = "ComProperty";
- private static UI_ComProperty _proxy;
- public static UI_ComProperty Create(GObject gObject = null)
- {
- var ui = new UI_ComProperty();
- 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_ComProperty Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComProperty();
- }
- 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_c1 = comp.GetController("c1");
- m_loaBg = (GLoader)comp.GetChild("loaBg");
- m_list = (GList)comp.GetChild("list");
- m_txtNum = (GTextField)comp.GetChild("txtNum");
- m_btnBuy = (GButton)comp.GetChild("btnBuy");
- m_btnChageLine = (GLoader)comp.GetChild("btnChageLine");
- m_txtTime = (GTextField)comp.GetChild("txtTime");
- m_btn0 = (GButton)comp.GetChild("btn0");
- m_btn1 = (GButton)comp.GetChild("btn1");
- m_btn2 = (GButton)comp.GetChild("btn2");
- m_btn3 = (GButton)comp.GetChild("btn3");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_c1 = null;
- m_loaBg = null;
- m_list = null;
- m_txtNum = null;
- m_btnBuy = null;
- m_btnChageLine = null;
- m_txtTime = null;
- m_btn0 = null;
- m_btn1 = null;
- m_btn2 = null;
- m_btn3 = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|