|
@@ -231,12 +231,13 @@ public class HttpHelper : MonoBehaviour
|
|
|
requestData.Dispose();
|
|
|
if (!successInternet)
|
|
|
{
|
|
|
- WWW www = new WWW(Application.streamingAssetsPath + "/hotPoints.json.json");
|
|
|
+ WWW www = new WWW(Application.streamingAssetsPath + "/hotPoints.json");
|
|
|
await new UnityAsync.WaitUntil(() =>
|
|
|
{
|
|
|
return www.isDone;
|
|
|
});
|
|
|
GlobalData.hotPointDatas = JsonConvert.DeserializeObject<List<HotPointData>>(www.text);
|
|
|
+ Debug.Log(GlobalData.hotPointDatas.Count);
|
|
|
www.Dispose();
|
|
|
}
|
|
|
|