框架支持Shudown不关闭游戏重启

框架支持Shudown不关闭游戏重启
This commit is contained in:
ALEXTANG
2023-10-27 13:18:12 +08:00
parent 381ea8bb8d
commit 48887b1aee
5 changed files with 47 additions and 7 deletions

View File

@@ -101,6 +101,10 @@ namespace TEngine
_errorLogger = null;
}
CloseAll();
if (m_InstanceRoot != null && m_InstanceRoot.parent != null)
{
Destroy(m_InstanceRoot.parent.gameObject);
}
}
#region