Exemple #1
0
 public void ChangeToSimulationMode()
 {
     evaluationEngine.EvaluateCurrentSimulation();
     if (evaluationEngine.isSimulationOk)
     {
         SelectedObjects.instance.ClearSelection();
         EditorInput.instance.gameObject.SetActive(false);
         ElectricSimulationEngine.instance.Setup();
         FluidSimulationEngine.instance.Setup();
         Taskbar.instance.StartedSimulation();
         ComponentListBar.instance.Disable();
         mode = Mode.simulation;
     }
 }