📅  最后修改于: 2022-03-11 14:48:38.702000             🧑  作者: Mango
//Delay the open scene method call.
private void OpenScene()
{
EditorApplication.delayCall += OpenSceneDelay;
}
private void OpenSceneDelay()
{
EditorApplication.delayCall -= OpenSceneDelay;
EditorSceneManager.OpenScene(ScenePath, OpenSceneMode.Additive);
}