public DepthPracticeSettings createSettingsObject(string[] settingsString) { //this converts a string to a much faster to access object. DepthPracticeSettings mySettings = new DepthPracticeSettings(); return(mySettings); }
public void setSettings(DepthPracticeSettings mySettings) { /*distanceSlider.setSliderValue(float.Parse(settingsString[0])); * rotationSlider.setSliderValue(float.Parse(settingsString[1])); * AttachToHead.isOn = bool.Parse(settingsString[2]); * GradsToggle.isOn = bool.Parse(settingsString[3]); * ShowRedSide.isOn = bool.Parse(settingsString[4]); * setUpProps(); */ }
public void initSettings() { testSettings0 = new BagoliniSettings(); testSettings1 = new BoxStringSettings(); testSettings2 = new DepthTestSettings(); testSettings3 = new VernierSettings(); testSettings4 = new DoubleMaddoxSettings(); testSettings5 = new DepthPracticeSettings(); testSettings6 = new VisualField1Settings(); testSettings7 = new Worth4DotSettings(); testSettings8 = new StandardEyeChartSettings(); }