using System;
using HyperX;
using UnityEngine;
public class StorageSample : MonoBehaviour
{
async void Start()
{
try
{
await Core.Init("PROJECT_CODE");
var progress = Core.PublicStorage.Get("Items.json", "content/Items.json", tag: "v2");
await progress.File;
Debug.Log("Download complete");
}
catch (Exception ex)
{
Debug.LogException(ex);
}
}
}