|
@@ -14,6 +14,8 @@ namespace UI.Main
|
|
|
public GLoader m_iconMain;
|
|
|
public GGraph m_holder1;
|
|
|
public GLoader m_loaLockIcons;
|
|
|
+ public Transition m_HideEffect;
|
|
|
+ public Transition m_ShowEffect;
|
|
|
public const string URL = "ui://mfvz4q8kq08xu";
|
|
|
public const string PACKAGE_NAME = "Main";
|
|
|
public const string RES_NAME = "ButtonModle1";
|
|
@@ -68,6 +70,8 @@ namespace UI.Main
|
|
|
m_iconMain = (GLoader)comp.GetChild("iconMain");
|
|
|
m_holder1 = (GGraph)comp.GetChild("holder1");
|
|
|
m_loaLockIcons = (GLoader)comp.GetChild("loaLockIcons");
|
|
|
+ m_HideEffect = comp.GetTransition("HideEffect");
|
|
|
+ m_ShowEffect = comp.GetTransition("ShowEffect");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -78,6 +82,8 @@ namespace UI.Main
|
|
|
m_iconMain = null;
|
|
|
m_holder1 = null;
|
|
|
m_loaLockIcons = null;
|
|
|
+ m_HideEffect = null;
|
|
|
+ m_ShowEffect = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|