|
@@ -22,6 +22,7 @@ namespace UI.NewYearRedEnvelope
|
|
public GComponent m_itemReward;
|
|
public GComponent m_itemReward;
|
|
public GRichTextField m_textGetNum;
|
|
public GRichTextField m_textGetNum;
|
|
public GRichTextField m_txtGet;
|
|
public GRichTextField m_txtGet;
|
|
|
|
+ public Transition m_textShow;
|
|
public const string URL = "ui://pt3t9f1ujsko0";
|
|
public const string URL = "ui://pt3t9f1ujsko0";
|
|
public const string PACKAGE_NAME = "NewYearRedEnvelope";
|
|
public const string PACKAGE_NAME = "NewYearRedEnvelope";
|
|
public const string RES_NAME = "NewYearRedEnvelopeUI";
|
|
public const string RES_NAME = "NewYearRedEnvelopeUI";
|
|
@@ -84,6 +85,7 @@ namespace UI.NewYearRedEnvelope
|
|
m_itemReward = (GComponent)comp.GetChild("itemReward");
|
|
m_itemReward = (GComponent)comp.GetChild("itemReward");
|
|
m_textGetNum = (GRichTextField)comp.GetChild("textGetNum");
|
|
m_textGetNum = (GRichTextField)comp.GetChild("textGetNum");
|
|
m_txtGet = (GRichTextField)comp.GetChild("txtGet");
|
|
m_txtGet = (GRichTextField)comp.GetChild("txtGet");
|
|
|
|
+ m_textShow = comp.GetTransition("textShow");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -103,6 +105,7 @@ namespace UI.NewYearRedEnvelope
|
|
m_itemReward = null;
|
|
m_itemReward = null;
|
|
m_textGetNum = null;
|
|
m_textGetNum = null;
|
|
m_txtGet = null;
|
|
m_txtGet = null;
|
|
|
|
+ m_textShow = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|