|
@@ -15,6 +15,7 @@ namespace UI.TimeTracing
|
|
|
public GTextField m_txtTips;
|
|
|
public GTextField m_timeText;
|
|
|
public UI_TimeTracingLevelRankItem m_myRank;
|
|
|
+ public GLoader m_rulerBtn;
|
|
|
public const string URL = "ui://gayfh946l8151f";
|
|
|
public const string PACKAGE_NAME = "TimeTracing";
|
|
|
public const string RES_NAME = "TimeTracingLevelRankUI";
|
|
@@ -70,6 +71,7 @@ namespace UI.TimeTracing
|
|
|
m_txtTips = (GTextField)comp.GetChild("txtTips");
|
|
|
m_timeText = (GTextField)comp.GetChild("timeText");
|
|
|
m_myRank = (UI_TimeTracingLevelRankItem)UI_TimeTracingLevelRankItem.Create(comp.GetChild("myRank"));
|
|
|
+ m_rulerBtn = (GLoader)comp.GetChild("rulerBtn");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -82,6 +84,7 @@ namespace UI.TimeTracing
|
|
|
m_timeText = null;
|
|
|
m_myRank.Dispose();
|
|
|
m_myRank = null;
|
|
|
+ m_rulerBtn = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|