public static void SimulationStep() { if (timeUp) { timeUp = false; try { SerializableDataExtension.LoadDataState(config,true, out bool error2); if (error2) throw new Exception("Tmpe: error when applying loaded data"); } catch (Exception e) { Debug.LogWarning(e); } } }