|
@@ -9,7 +9,6 @@ namespace UI.CommonGame
|
|
public GComponent target;
|
|
public GComponent target;
|
|
public UI_ComRewardItem m_comRewardItem;
|
|
public UI_ComRewardItem m_comRewardItem;
|
|
public GMovieClip m_effect;
|
|
public GMovieClip m_effect;
|
|
- public Transition m_t0;
|
|
|
|
public const string URL = "ui://eg2y0ldpm9wm8u";
|
|
public const string URL = "ui://eg2y0ldpm9wm8u";
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
public const string PACKAGE_NAME = "CommonGame";
|
|
public const string RES_NAME = "ListRewardItem";
|
|
public const string RES_NAME = "ListRewardItem";
|
|
@@ -59,14 +58,12 @@ namespace UI.CommonGame
|
|
{
|
|
{
|
|
m_comRewardItem = (UI_ComRewardItem)UI_ComRewardItem.Create(comp.GetChild("comRewardItem"));
|
|
m_comRewardItem = (UI_ComRewardItem)UI_ComRewardItem.Create(comp.GetChild("comRewardItem"));
|
|
m_effect = (GMovieClip)comp.GetChild("effect");
|
|
m_effect = (GMovieClip)comp.GetChild("effect");
|
|
- m_t0 = comp.GetTransition("t0");
|
|
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
m_comRewardItem.Dispose();
|
|
m_comRewardItem.Dispose();
|
|
m_comRewardItem = null;
|
|
m_comRewardItem = null;
|
|
m_effect = null;
|
|
m_effect = null;
|
|
- m_t0 = null;
|
|
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|