FetchFile
Namespace: SynicSugar.TitleStorage
public static async UniTask<bool> FetchFile(string fileName)
Description
Exsist target? If not, Download it from EOS server.
After call this, we can load the target as Resources or AssetBundle.
using System.Collections.Generic;
using SynicSugar.TitleStorage;
using UnityEngine;
public class TitleStorageSample : MonoBehaviour {
[SerializeField] Text currentProgress;
async void Start() {
await FetchFile("TestLogo");
}
}