|
@@ -4,11 +4,11 @@ using FairyGUI;
|
|
|
|
|
|
namespace UI.ActivityThemeLuckyBox
|
|
namespace UI.ActivityThemeLuckyBox
|
|
{
|
|
{
|
|
- public partial class UI_ListTaskItem
|
|
|
|
|
|
+ public partial class UI_ListItem
|
|
{
|
|
{
|
|
public GComponent target;
|
|
public GComponent target;
|
|
public Controller m_c1;
|
|
public Controller m_c1;
|
|
- public GList m_lsitRewards;
|
|
|
|
|
|
+ public GList m_listRewards;
|
|
public GTextField m_txtTitle;
|
|
public GTextField m_txtTitle;
|
|
public GButton m_btnGetNone;
|
|
public GButton m_btnGetNone;
|
|
public GButton m_btnGet;
|
|
public GButton m_btnGet;
|
|
@@ -16,12 +16,12 @@ namespace UI.ActivityThemeLuckyBox
|
|
public GButton m_btnGo;
|
|
public GButton m_btnGo;
|
|
public const string URL = "ui://ubfk2kobmbf19";
|
|
public const string URL = "ui://ubfk2kobmbf19";
|
|
public const string PACKAGE_NAME = "ActivityThemeLuckyBox";
|
|
public const string PACKAGE_NAME = "ActivityThemeLuckyBox";
|
|
- public const string RES_NAME = "ListTaskItem";
|
|
|
|
- private static UI_ListTaskItem _proxy;
|
|
|
|
|
|
+ public const string RES_NAME = "ListItem";
|
|
|
|
+ private static UI_ListItem _proxy;
|
|
|
|
|
|
- public static UI_ListTaskItem Create(GObject gObject = null)
|
|
|
|
|
|
+ public static UI_ListItem Create(GObject gObject = null)
|
|
{
|
|
{
|
|
- var ui = new UI_ListTaskItem();
|
|
|
|
|
|
+ var ui = new UI_ListItem();
|
|
if(gObject == null)
|
|
if(gObject == null)
|
|
ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
|
|
ui.target = (GComponent)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
|
|
else
|
|
else
|
|
@@ -30,11 +30,11 @@ namespace UI.ActivityThemeLuckyBox
|
|
return ui;
|
|
return ui;
|
|
}
|
|
}
|
|
|
|
|
|
- public static UI_ListTaskItem Proxy(GObject gObject = null)
|
|
|
|
|
|
+ public static UI_ListItem Proxy(GObject gObject = null)
|
|
{
|
|
{
|
|
if(_proxy == null)
|
|
if(_proxy == null)
|
|
{
|
|
{
|
|
- _proxy = new UI_ListTaskItem();
|
|
|
|
|
|
+ _proxy = new UI_ListItem();
|
|
}
|
|
}
|
|
var ui = _proxy;
|
|
var ui = _proxy;
|
|
if(gObject == null)
|
|
if(gObject == null)
|
|
@@ -62,7 +62,7 @@ namespace UI.ActivityThemeLuckyBox
|
|
private void Init(GComponent comp)
|
|
private void Init(GComponent comp)
|
|
{
|
|
{
|
|
m_c1 = comp.GetController("c1");
|
|
m_c1 = comp.GetController("c1");
|
|
- m_lsitRewards = (GList)comp.GetChild("lsitRewards");
|
|
|
|
|
|
+ m_listRewards = (GList)comp.GetChild("listRewards");
|
|
m_txtTitle = (GTextField)comp.GetChild("txtTitle");
|
|
m_txtTitle = (GTextField)comp.GetChild("txtTitle");
|
|
m_btnGetNone = (GButton)comp.GetChild("btnGetNone");
|
|
m_btnGetNone = (GButton)comp.GetChild("btnGetNone");
|
|
m_btnGet = (GButton)comp.GetChild("btnGet");
|
|
m_btnGet = (GButton)comp.GetChild("btnGet");
|
|
@@ -72,7 +72,7 @@ namespace UI.ActivityThemeLuckyBox
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
m_c1 = null;
|
|
m_c1 = null;
|
|
- m_lsitRewards = null;
|
|
|
|
|
|
+ m_listRewards = null;
|
|
m_txtTitle = null;
|
|
m_txtTitle = null;
|
|
m_btnGetNone = null;
|
|
m_btnGetNone = null;
|
|
m_btnGet = null;
|
|
m_btnGet = null;
|