IEnumerator getData(int i) { using (WWW www = new WWW(url + i)) { yield return(www); DataController.steps = JsonUtility.FromJson <StepCollection>("{\"stepData\":" + www.text + "}"); stepIterator.gameObject.SetActive(true); stepIterator.reset(); } }
void startProcedure() { stepIterator.reset(); slideInInstructions.SlideInInstructions(); }