|
@@ -12,7 +12,7 @@ namespace UI.CommonGame
|
|
public GGraph m_holder;
|
|
public GGraph m_holder;
|
|
public GTextField m_txtName;
|
|
public GTextField m_txtName;
|
|
public GProgressBar m_probar;
|
|
public GProgressBar m_probar;
|
|
- public UI_LuckyBoxBonusItem m_item;
|
|
|
|
|
|
+ public GComponent m_item;
|
|
public const string URL = "ui://eg2y0ldptu965e";
|
|
public const string URL = "ui://eg2y0ldptu965e";
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
public const string RES_NAME = "GetSuitItemUI";
|
|
public const string RES_NAME = "GetSuitItemUI";
|
|
@@ -65,7 +65,7 @@ namespace UI.CommonGame
|
|
m_holder = (GGraph)comp.GetChild("holder");
|
|
m_holder = (GGraph)comp.GetChild("holder");
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
m_txtName = (GTextField)comp.GetChild("txtName");
|
|
m_probar = (GProgressBar)comp.GetChild("probar");
|
|
m_probar = (GProgressBar)comp.GetChild("probar");
|
|
- m_item = (UI_LuckyBoxBonusItem)UI_LuckyBoxBonusItem.Create(comp.GetChild("item"));
|
|
|
|
|
|
+ m_item = (GComponent)comp.GetChild("item");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -74,7 +74,6 @@ namespace UI.CommonGame
|
|
m_holder = null;
|
|
m_holder = null;
|
|
m_txtName = null;
|
|
m_txtName = null;
|
|
m_probar = null;
|
|
m_probar = null;
|
|
- m_item.Dispose();
|
|
|
|
m_item = null;
|
|
m_item = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|