|
@@ -1,80 +0,0 @@
|
|
-/** This is an automatically generated class by FairyGUI. Please do not modify it. **/
|
|
|
|
-
|
|
|
|
-using FairyGUI;
|
|
|
|
-
|
|
|
|
-namespace UI.Mail
|
|
|
|
-{
|
|
|
|
- public partial class UI_ListRewardItem
|
|
|
|
- {
|
|
|
|
- public GComponent target;
|
|
|
|
- public GLoader m_loaIcon;
|
|
|
|
- public GTextField m_txtName;
|
|
|
|
- public GTextField m_txtCount;
|
|
|
|
- public GImage m_imgGot;
|
|
|
|
- public const string URL = "ui://y44a413eehs9h";
|
|
|
|
- public const string PACKAGE_NAME = "Mail";
|
|
|
|
- public const string RES_NAME = "ListRewardItem";
|
|
|
|
- private static UI_ListRewardItem _proxy;
|
|
|
|
-
|
|
|
|
- public static UI_ListRewardItem Create(GObject gObject = null)
|
|
|
|
- {
|
|
|
|
- var ui = new UI_ListRewardItem();
|
|
|
|
- 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_ListRewardItem Proxy(GObject gObject = null)
|
|
|
|
- {
|
|
|
|
- if(_proxy == null)
|
|
|
|
- {
|
|
|
|
- _proxy = new UI_ListRewardItem();
|
|
|
|
- }
|
|
|
|
- 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_loaIcon = (GLoader)comp.GetChildAt(1);
|
|
|
|
- m_txtName = (GTextField)comp.GetChildAt(3);
|
|
|
|
- m_txtCount = (GTextField)comp.GetChildAt(4);
|
|
|
|
- m_imgGot = (GImage)comp.GetChildAt(5);
|
|
|
|
- }
|
|
|
|
- public void Dispose(bool disposeTarget = false)
|
|
|
|
- {
|
|
|
|
- m_loaIcon = null;
|
|
|
|
- m_txtName = null;
|
|
|
|
- m_txtCount = null;
|
|
|
|
- m_imgGot = null;
|
|
|
|
- if(disposeTarget && target != null)
|
|
|
|
- {
|
|
|
|
- target.RemoveFromParent();
|
|
|
|
- target.Dispose();
|
|
|
|
- }
|
|
|
|
- target = null;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|