|
@@ -84,7 +84,7 @@ namespace GFGGame
|
|
|
|
|
|
public virtual void Dispose()
|
|
|
{
|
|
|
-
|
|
|
+
|
|
|
if (viewCom != null)
|
|
|
{
|
|
|
viewCom.RemoveFromParent();
|
|
@@ -225,10 +225,10 @@ namespace GFGGame
|
|
|
void __removeFromStage()
|
|
|
{
|
|
|
OnHide();
|
|
|
- if (_descFilePath == ResPathUtil.GetUIPackagePath("Login") || _descFilePath == ResPathUtil.GetUIPackagePath("Loading") || _descFilePath == ResPathUtil.GetUIPackagePath("CreateRole"))//这几个界面关闭后立即释放
|
|
|
- {
|
|
|
- Dispose();
|
|
|
- }
|
|
|
+ // if (_descFilePath == ResPathUtil.GetUIPackagePath("Login") || _descFilePath == ResPathUtil.GetUIPackagePath("Loading") || _descFilePath == ResPathUtil.GetUIPackagePath("CreateRole"))//这几个界面关闭后立即释放
|
|
|
+ // {
|
|
|
+ // Dispose();
|
|
|
+ // }
|
|
|
}
|
|
|
|
|
|
}
|