Ejemplo n.º 1
0
        private IEnumerator Copy(IAccessLocation source, IAccessLocation dest)
        {
            ChipstarLog.Log_WriteLocalBundle(source, dest);
            if (File.Exists(dest.FullPath))
            {
                ChipstarLog.Log($"Exsists File::{dest}");
                yield break;
            }
            var www     = UnityWebRequest.Get(source.FullPath);
            var handler = new DownloadHandlerFile(dest.FullPath);

            www.downloadHandler = handler;
            yield return(www.SendWebRequest());
        }