コード例 #1
0
        /// <summary>
        ///     Downloads last assets.
        /// </summary>
        private static void DownloadLastAssets(LogicJSONObject currentFingerprint)
        {
            string lastSha = WebManager.DownloadConfigString("/sha");

            if (lastSha != null)
            {
                string json = WebManager.DownloadAssetString(lastSha, "fingerprint.json");

                if (json != null)
                {
                    ResourceManager.DownloadAssets(currentFingerprint, json);
                }
            }
        }