private IEnumerator OnReceiveCoinList(WWW req) { yield return(req); CoinListResponse resp = CoinListResponse.FromJson(req.text); foreach (Datum d in resp.Data.Values) { CoinManager.AddCoin(d); } FindObjectOfType <PortfolioScene>().Init(); }
private IEnumerator OnReceiveCoinList(WWW req) { yield return(req); CoinListResponse resp = CoinListResponse.FromJson(req.text); foreach (Datum d in resp.Data.Values) { AddCoin(d); } CoinListBuilt(); }