Пример #1
0
        private static VersionConfig getNewVersion()
        {
            AssetBundle   streamAb = AssetBundleLoader.LoadFromStreamingAssetsPath(GameUpdater.CurrentVersionPath);
            VersionConfig streamVc = null;

            TextAsset text    = streamAb.LoadAsset("version") as TextAsset;
            string    content = text.text;

            streamVc = VersionUtil.ReadVersionConfig(content);
            streamAb.Unload(true);
            return(streamVc);
        }