|
@@ -32,6 +32,8 @@ namespace UI.RoleInfo
|
|
|
public GButton m_btnCopy;
|
|
|
public GButton m_btnSetting;
|
|
|
public GButton m_btnHuaRongDao;
|
|
|
+ public Transition m_Hide;
|
|
|
+ public Transition m_Show;
|
|
|
public const string URL = "ui://374k3dwvd4iw6k";
|
|
|
public const string PACKAGE_NAME = "RoleInfo";
|
|
|
public const string RES_NAME = "RoleInfoUI";
|
|
@@ -104,6 +106,8 @@ namespace UI.RoleInfo
|
|
|
m_btnCopy = (GButton)comp.GetChild("btnCopy");
|
|
|
m_btnSetting = (GButton)comp.GetChild("btnSetting");
|
|
|
m_btnHuaRongDao = (GButton)comp.GetChild("btnHuaRongDao");
|
|
|
+ m_Hide = comp.GetTransition("Hide");
|
|
|
+ m_Show = comp.GetTransition("Show");
|
|
|
}
|
|
|
public void Dispose(bool disposeTarget = false)
|
|
|
{
|
|
@@ -135,6 +139,8 @@ namespace UI.RoleInfo
|
|
|
m_btnCopy = null;
|
|
|
m_btnSetting = null;
|
|
|
m_btnHuaRongDao = null;
|
|
|
+ m_Hide = null;
|
|
|
+ m_Show = null;
|
|
|
if(disposeTarget && target != null)
|
|
|
{
|
|
|
target.RemoveFromParent();
|