移除不用的脚本
This commit is contained in:
@@ -73,10 +73,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure the instance isn't referenced anymore when the user quit, just in case.
|
||||
#if UNITY_EDITOR
|
||||
private void OnApplicationQuit()
|
||||
{
|
||||
// Null any references when exiting play mode.
|
||||
_instance = null;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user