SkyUpdatement已更新
This commit is contained in:
@@ -364,7 +364,8 @@ namespace Demo.Game
|
||||
}
|
||||
finally
|
||||
{
|
||||
Destroy(MainObject.gameObject);
|
||||
if (MainObject)
|
||||
Destroy(MainObject.gameObject);
|
||||
if (Editor.EditorController.instance.MainGameController == this)
|
||||
{
|
||||
Editor.EditorController.instance.MainGameController = null;
|
||||
|
||||
Reference in New Issue
Block a user