コード例 #1
0
    private static void DownloadGoogleSheet(Document doc)
    {
        EditorUtility.DisplayCancelableProgressBar("Download", "Downloading...", 0);

        var iterator = GoogleDownloader.DownloadSheet(doc.DocsId, doc.SheetId, t => DownloadComplete(t, doc), doc.Format, DisplayDownloadProgressbar);

        while (iterator.MoveNext())
        {
        }
    }
コード例 #2
0
 private static IEnumerator Download(Document document, Action <string> done, Func <float, bool> progressbar = null)
 {
     return(GoogleDownloader.DownloadSheet(document.DocsId, document.SheetId, done, document.Format, progressbar));
 }