|
@@ -23,6 +23,7 @@ namespace UI.Main
|
|
public UI_CompBonusBox m_bonusBox2;
|
|
public UI_CompBonusBox m_bonusBox2;
|
|
public UI_CompBonusBox m_bonusBox1;
|
|
public UI_CompBonusBox m_bonusBox1;
|
|
public GTextField m_txtStarCount;
|
|
public GTextField m_txtStarCount;
|
|
|
|
+ public GLoader m_switchChapter;
|
|
public const string URL = "ui://mfvz4q8km7n51u";
|
|
public const string URL = "ui://mfvz4q8km7n51u";
|
|
public const string PACKAGE_NAME = "Main";
|
|
public const string PACKAGE_NAME = "Main";
|
|
public const string RES_NAME = "StoryChapterUI";
|
|
public const string RES_NAME = "StoryChapterUI";
|
|
@@ -86,6 +87,7 @@ namespace UI.Main
|
|
m_bonusBox2 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox2"));
|
|
m_bonusBox2 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox2"));
|
|
m_bonusBox1 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox1"));
|
|
m_bonusBox1 = (UI_CompBonusBox)UI_CompBonusBox.Create(comp.GetChild("bonusBox1"));
|
|
m_txtStarCount = (GTextField)comp.GetChild("txtStarCount");
|
|
m_txtStarCount = (GTextField)comp.GetChild("txtStarCount");
|
|
|
|
+ m_switchChapter = (GLoader)comp.GetChild("switchChapter");
|
|
}
|
|
}
|
|
public void Dispose(bool disposeTarget = false)
|
|
public void Dispose(bool disposeTarget = false)
|
|
{
|
|
{
|
|
@@ -109,6 +111,7 @@ namespace UI.Main
|
|
m_bonusBox1.Dispose();
|
|
m_bonusBox1.Dispose();
|
|
m_bonusBox1 = null;
|
|
m_bonusBox1 = null;
|
|
m_txtStarCount = null;
|
|
m_txtStarCount = null;
|
|
|
|
+ m_switchChapter = null;
|
|
if(disposeTarget && target != null)
|
|
if(disposeTarget && target != null)
|
|
{
|
|
{
|
|
target.RemoveFromParent();
|
|
target.RemoveFromParent();
|