public void SwitchScene(string scene) { if (scene.Equals("calibration") && s.Equals(GameState.INTRO)) { introElement.SetActive(false); calibrationElement.SetActive(true); calibrator.calibrate(); s = GameState.CALIBRATION; } if (scene.Equals("play") && s.Equals(GameState.CALIBRATION)) { Debug.Log("Manager Setting play mode.."); introElement.SetActive(false); calibrationElement.SetActive(false); calibrator.endCalibration(); s = GameState.PLAY; } if (scene.Equals("reset") && s.Equals(GameState.PLAY)) { introElement.SetActive(true); calibrationElement.SetActive(false); s = GameState.INTRO; } }