|
@@ -1,83 +0,0 @@
|
|
|
-/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
-
|
|
|
-using FairyGUI;
|
|
|
-
|
|
|
-namespace UI.Activity
|
|
|
-{
|
|
|
- public partial class UI_ListItem
|
|
|
- {
|
|
|
- public GComponent target;
|
|
|
- public GLoader m_loaBg;
|
|
|
- public GLoader m_loaIcon;
|
|
|
- public GTextField m_txtNum;
|
|
|
- public GTextField m_txtName;
|
|
|
- public GImage m_imgGot;
|
|
|
- public const string URL = "ui://5uawdql9jyml7";
|
|
|
- public const string PACKAGE_NAME = "Activity";
|
|
|
- public const string RES_NAME = "ListItem";
|
|
|
- private static UI_ListItem _proxy;
|
|
|
-
|
|
|
- public static UI_ListItem Create(GObject gObject = null)
|
|
|
- {
|
|
|
- var ui = new UI_ListItem();
|
|
|
- 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_ListItem Proxy(GObject gObject = null)
|
|
|
- {
|
|
|
- if(_proxy == null)
|
|
|
- {
|
|
|
- _proxy = new UI_ListItem();
|
|
|
- }
|
|
|
- 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_loaIcon = (GLoader)comp.GetChild("loaIcon");
|
|
|
- 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_loaBg = null;
|
|
|
- m_loaIcon = null;
|
|
|
- m_txtNum = null;
|
|
|
- m_txtName = null;
|
|
|
- m_imgGot = null;
|
|
|
- if(disposeTarget && target != null)
|
|
|
- {
|
|
|
- target.RemoveFromParent();
|
|
|
- target.Dispose();
|
|
|
- }
|
|
|
- target = null;
|
|
|
- }
|
|
|
- }
|
|
|
-}
|