1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- /** This is an automatically generated class by FairyGUI. Please do not modify it. **/
- using FairyGUI;
- namespace UI.NewYearLogin
- {
- public partial class UI_ComLoginItem
- {
- public GComponent target;
- public Controller m_bgType;
- public GLoader m_loaIcon;
- public GTextField m_txtDay;
- public GTextField m_txtNum;
- public GTextField m_txtName;
- public GImage m_imgGot;
- public const string URL = "ui://euyo6bk3t2f05";
- public const string PACKAGE_NAME = "NewYearLogin";
- public const string RES_NAME = "ComLoginItem";
- private static UI_ComLoginItem _proxy;
- public static UI_ComLoginItem Create(GObject gObject = null)
- {
- var ui = new UI_ComLoginItem();
- 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_ComLoginItem Proxy(GObject gObject = null)
- {
- if(_proxy == null)
- {
- _proxy = new UI_ComLoginItem();
- }
- 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_bgType = comp.GetController("bgType");
- m_loaIcon = (GLoader)comp.GetChild("loaIcon");
- m_txtDay = (GTextField)comp.GetChild("txtDay");
- m_txtNum = (GTextField)comp.GetChild("txtNum");
- m_txtName = (GTextField)comp.GetChild("txtName");
- m_imgGot = (GImage)comp.GetChild("imgGot");
- }
- public void Dispose(bool disposeTarget = false)
- {
- m_bgType = null;
- m_loaIcon = null;
- m_txtDay = null;
- m_txtNum = null;
- m_txtName = null;
- m_imgGot = null;
- if(disposeTarget && target != null)
- {
- target.RemoveFromParent();
- target.Dispose();
- }
- target = null;
- }
- }
- }
|