|
@@ -16,6 +16,7 @@ namespace UI.Travel
|
|
|
public GLoader m_iconSpeedUpSpend;
|
|
|
public GTextField m_numSpeedUpSpend;
|
|
|
public GComponent m_comValueBar;
|
|
|
+ public GLoader m_spend;
|
|
|
public const string URL = "ui://jitclg1gghq1110";
|
|
|
public const string PACKAGE_NAME = "Travel";
|
|
|
public const string RES_NAME = "TravelTimeDetailUI";
|
|
@@ -72,6 +73,7 @@ namespace UI.Travel
|
|
|
m_iconSpeedUpSpend = (GLoader)comp.GetChild("iconSpeedUpSpend");
|
|
|
m_numSpeedUpSpend = (GTextField)comp.GetChild("numSpeedUpSpend");
|
|
|
m_comValueBar = (GComponent)comp.GetChild("comValueBar");
|
|
|
+ m_spend = (GLoader)comp.GetChild("spend");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -84,6 +86,7 @@ namespace UI.Travel
|
|
|
m_iconSpeedUpSpend = null;
|
|
|
m_numSpeedUpSpend = null;
|
|
|
m_comValueBar = null;
|
|
|
+ m_spend = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|