private IEnumerator LoadOnNextFrame(string filename) { yield return(new WaitForEndOfFrame()); var simulationData = SimulationSerializer.LoadSimulationData(filename); editor.StartSimulation(simulationData); }