/// <summary> /// Start CustomMode, triggering all the other entities to read the needed information. /// </summary> private void StartCustomMode() { bool glasswareStart = false; customMode = true; currentPhase = PhasesSaver.LoadPhases(customPhaseDirectory); phaseDefinitions = PhasesSaver.GetPhaseLibrary(customPhaseDirectory); numberOfSteps = currentPhase.Count; this.NewPhase(bool.Parse(phaseDefinitions ["glasswareStart"])); }
/// <summary> /// Start CustomMode, triggering all the other entities to read the needed information. /// </summary> private void StartCustomMode() { bool glasswareStart = false; customMode = true; currentPhase = PhasesSaver.LoadPhases(customPhaseDirectory); phaseDefinitions = PhasesSaver.GetPhaseLibrary(customPhaseDirectory); for (int i = 0; i < currentPhase.Count; i++) { Debug.Log("PC.CurrentPhase " + i + " = " + currentPhase[i]["typeOfStep"]); } numberOfSteps = currentPhase.Count; this.NewPhase(bool.Parse(phaseDefinitions ["glasswareStart"])); }