|
@@ -23,6 +23,7 @@ namespace UI.MiniGame
|
|
|
public GButton m_rewardGet;
|
|
|
public GButton m_shopBtn;
|
|
|
public UI_NewMaterialShowView m_newMaterial;
|
|
|
+ public UI_MergeGameItemUI m_guildDouBaoBtn;
|
|
|
public const string URL = "ui://wgkh30qjqbf42v";
|
|
|
public const string PACKAGE_NAME = "MiniGame";
|
|
|
public const string RES_NAME = "MergeGameUI";
|
|
@@ -86,6 +87,7 @@ namespace UI.MiniGame
|
|
|
m_rewardGet = (GButton)comp.GetChild("rewardGet");
|
|
|
m_shopBtn = (GButton)comp.GetChild("shopBtn");
|
|
|
m_newMaterial = (UI_NewMaterialShowView)UI_NewMaterialShowView.Create(comp.GetChild("newMaterial"));
|
|
|
+ m_guildDouBaoBtn = (UI_MergeGameItemUI)UI_MergeGameItemUI.Create(comp.GetChild("guildDouBaoBtn"));
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -109,6 +111,8 @@ namespace UI.MiniGame
|
|
|
m_shopBtn = null;
|
|
|
m_newMaterial.Dispose();
|
|
|
m_newMaterial = null;
|
|
|
+ m_guildDouBaoBtn.Dispose();
|
|
|
+ m_guildDouBaoBtn = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|