/// <summary> /// Restarts the simulation using a specific preset to choose the /// initial conditions. /// </summary> public void RestartSimulation(EcosystemPreset preset, ResetBehavior resetBehavior = ResetBehavior.FadeInOut) { var presetDesc = _generator.GetPresetEcosystem(preset); RestartSimulation(presetDesc, resetBehavior); if (OnPresetLoaded != null) { OnPresetLoaded(); } }