Esempio n. 1
0
    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();
        }
    }
Esempio n. 2
0
 void startProcedure()
 {
     stepIterator.reset();
     slideInInstructions.SlideInInstructions();
 }