private IEnumerator PopulateScrollView() { yield return(StartCoroutine(NetworkAPI.GetJson(output => cakeList = JsonUtility.FromJson <CakeList>("{ \"cakes\": " + output + "}")))); CreateCakeListEntry(); }
private void ParseData() { StartCoroutine(NetworkAPI.GetJson(output => cakeList = JsonUtility.FromJson <CakeList>("{ \"cakes\": " + output + "}"))); }