Esempio n. 1
0
        private IEnumerator PopulateScrollView()
        {
            yield return(StartCoroutine(NetworkAPI.GetJson(output => cakeList = JsonUtility.FromJson <CakeList>("{ \"cakes\": " + output + "}"))));

            CreateCakeListEntry();
        }
Esempio n. 2
0
 private void ParseData()
 {
     StartCoroutine(NetworkAPI.GetJson(output => cakeList = JsonUtility.FromJson <CakeList>("{ \"cakes\": " + output + "}")));
 }