|
@@ -4,7 +4,7 @@ using FairyGUI;
|
|
|
|
|
|
namespace UI.Main
|
|
namespace UI.Main
|
|
{
|
|
{
|
|
- public partial class UI_ListCardItem
|
|
|
|
|
|
+ public partial class UI_ListCardFightItem
|
|
{
|
|
{
|
|
public GButton target;
|
|
public GButton target;
|
|
public Controller m_starNumType;
|
|
public Controller m_starNumType;
|
|
@@ -14,18 +14,18 @@ namespace UI.Main
|
|
public GLoader m_loaRarity;
|
|
public GLoader m_loaRarity;
|
|
public GTextField m_txtName;
|
|
public GTextField m_txtName;
|
|
public GTextField m_txtLv;
|
|
public GTextField m_txtLv;
|
|
- public UI_ComDodgeStar m_dodgeStar0;
|
|
|
|
- public UI_ComDodgeStar m_dodgeStar1;
|
|
|
|
- public UI_ComDodgeStar m_dodgeStar2;
|
|
|
|
- public UI_ComDodgeStar m_dodgeStar3;
|
|
|
|
|
|
+ public UI_ComDodgeFightStar m_dodgeStar0;
|
|
|
|
+ public UI_ComDodgeFightStar m_dodgeStar1;
|
|
|
|
+ public UI_ComDodgeFightStar m_dodgeStar2;
|
|
|
|
+ public UI_ComDodgeFightStar m_dodgeStar3;
|
|
public const string URL = "ui://mfvz4q8kr1a99f";
|
|
public const string URL = "ui://mfvz4q8kr1a99f";
|
|
public const string PACKAGE_NAME = "Main";
|
|
public const string PACKAGE_NAME = "Main";
|
|
- public const string RES_NAME = "ListCardItem";
|
|
|
|
- private static UI_ListCardItem _proxy;
|
|
|
|
|
|
+ public const string RES_NAME = "ListCardFightItem";
|
|
|
|
+ private static UI_ListCardFightItem _proxy;
|
|
|
|
|
|
- public static UI_ListCardItem Create(GObject gObject = null)
|
|
|
|
|
|
+ public static UI_ListCardFightItem Create(GObject gObject = null)
|
|
{
|
|
{
|
|
- var ui = new UI_ListCardItem();
|
|
|
|
|
|
+ var ui = new UI_ListCardFightItem();
|
|
if(gObject == null)
|
|
if(gObject == null)
|
|
ui.target = (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
|
|
ui.target = (GButton)UIPackage.CreateObject(PACKAGE_NAME, RES_NAME);
|
|
else
|
|
else
|
|
@@ -34,11 +34,11 @@ namespace UI.Main
|
|
return ui;
|
|
return ui;
|
|
}
|
|
}
|
|
|
|
|
|
- public static UI_ListCardItem Proxy(GObject gObject = null)
|
|
|
|
|
|
+ public static UI_ListCardFightItem Proxy(GObject gObject = null)
|
|
{
|
|
{
|
|
if(_proxy == null)
|
|
if(_proxy == null)
|
|
{
|
|
{
|
|
- _proxy = new UI_ListCardItem();
|
|
|
|
|
|
+ _proxy = new UI_ListCardFightItem();
|
|
}
|
|
}
|
|
var ui = _proxy;
|
|
var ui = _proxy;
|
|
if(gObject == null)
|
|
if(gObject == null)
|
|
@@ -72,10 +72,10 @@ namespace UI.Main
|
|
m_loaRarity = (GLoader)comp.GetChild("loaRarity");
|
|
m_loaRarity = (GLoader)comp.GetChild("loaRarity");
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
m_txtLv = (GTextField)comp.GetChild("txtLv");
|
|
m_txtLv = (GTextField)comp.GetChild("txtLv");
|
|
- m_dodgeStar0 = (UI_ComDodgeStar)UI_ComDodgeStar.Create(comp.GetChild("dodgeStar0"));
|
|
|
|
- m_dodgeStar1 = (UI_ComDodgeStar)UI_ComDodgeStar.Create(comp.GetChild("dodgeStar1"));
|
|
|
|
- m_dodgeStar2 = (UI_ComDodgeStar)UI_ComDodgeStar.Create(comp.GetChild("dodgeStar2"));
|
|
|
|
- m_dodgeStar3 = (UI_ComDodgeStar)UI_ComDodgeStar.Create(comp.GetChild("dodgeStar3"));
|
|
|
|
|
|
+ m_dodgeStar0 = (UI_ComDodgeFightStar)UI_ComDodgeFightStar.Create(comp.GetChild("dodgeStar0"));
|
|
|
|
+ m_dodgeStar1 = (UI_ComDodgeFightStar)UI_ComDodgeFightStar.Create(comp.GetChild("dodgeStar1"));
|
|
|
|
+ m_dodgeStar2 = (UI_ComDodgeFightStar)UI_ComDodgeFightStar.Create(comp.GetChild("dodgeStar2"));
|
|
|
|
+ m_dodgeStar3 = (UI_ComDodgeFightStar)UI_ComDodgeFightStar.Create(comp.GetChild("dodgeStar3"));
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|