|
@@ -18,6 +18,7 @@ namespace UI.Poem
|
|
|
public UI_Button7 m_btnConfirmDelete;
|
|
|
public GButton m_btnDelete;
|
|
|
public GTextField m_txtCount;
|
|
|
+ public GButton m_btnRule;
|
|
|
public const string URL = "ui://iyz778gkv4825";
|
|
|
public const string PACKAGE_NAME = "Poem";
|
|
|
public const string RES_NAME = "PoemPhotoUI";
|
|
@@ -76,6 +77,7 @@ namespace UI.Poem
|
|
|
m_btnConfirmDelete = (UI_Button7)UI_Button7.Create(comp.GetChild("btnConfirmDelete"));
|
|
|
m_btnDelete = (GButton)comp.GetChild("btnDelete");
|
|
|
m_txtCount = (GTextField)comp.GetChild("txtCount");
|
|
|
+ m_btnRule = (GButton)comp.GetChild("btnRule");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -91,6 +93,7 @@ namespace UI.Poem
|
|
|
m_btnConfirmDelete = null;
|
|
|
m_btnDelete = null;
|
|
|
m_txtCount = null;
|
|
|
+ m_btnRule = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|