public static SceneVersionInfo GetIntance(byte[] bytes)
        {
            string   text = System.Text.Encoding.Default.GetString(bytes);
            JsonData jd   = JsonMapper.ToObject(text.Trim());

            var sceneinfo = new SceneVersionInfo();

            sceneinfo.JsonDeserialize(jd);
            return(sceneinfo);
        }
        public static CustomSceneVersionManifest CreateInstance(string text)
        {
            var manifest = new CustomSceneVersionManifest();

            manifest.SceneMap = new Dictionary <string, SceneVersionInfo>();
            JsonData jd = JsonMapper.ToObject(text.Trim());

            JsonData jdManifest = jd["manifest"];

            for (int i = 0; i < jdManifest.Count; i++)
            {
                var assetBundleInfo = new SceneVersionInfo();
                assetBundleInfo.JsonDeserialize(jdManifest[i]);
                manifest.SceneMap[assetBundleInfo.scenename] = assetBundleInfo;
            }
            return(manifest);
        }