/// <summary>
        /// 读取存放Bundle配置的JSON文件,通过同步方式加载Bundle,资源存入字典
        /// </summary>
        /// <typeparam name="T">字典的值类型</typeparam>
        /// <param name="BundleConfPath">BundleConf的JSON文件路径,文件夹路径为StreamingAssets文件夹里的相对路径</param>
        /// <param name="dict">Dictionary<string,T>,键为string,值为T类型的字典</param>
        public static void LoadBundleToDict <T>(string BundleConfPath, Dictionary <string, T> dict) where T : Object
        {
            BundleConf BundleConf = new BundleConf();

            BundleConf = MeaninglessJson.LoadJsonFromFile <BundleConf>(MeaninglessJson.Path_StreamingAssets + BundleConfPath);

            AssetBundle AB = AssetBundle.LoadFromFile(Application.dataPath + "/StreamingAssets/" + BundleConf.BundlePath);

            foreach (string str in BundleConf.ResName)
            {
                dict.Add(str, AB.LoadAsset <T>(str));
            }
        }
 /// <summary>
 /// 加载UI图片
 /// </summary>
 public void LoadUITextures()
 {
     if (Dict_UITex == null)
     {
         Dict_UITex = new Dictionary <string, Sprite>();
         BundleConf  bundleConf = MeaninglessJson.LoadJsonFromFile <BundleConf>(Application.dataPath + "/StreamingAssets/" + "BC_UITextures.json");
         AssetBundle ab         = AssetBundle.LoadFromFile(Application.dataPath + "/StreamingAssets/" + bundleConf.BundlePath);
         UnityEngine.U2D.SpriteAtlas spriteAtlas = ab.LoadAsset <UnityEngine.U2D.SpriteAtlas>("BagIcon");
         foreach (string str in bundleConf.ResName)
         {
             Dict_UITex.Add(str, spriteAtlas.GetSprite(str));
         }
     }
 }
        /// <summary>
        /// 读取存放Bundle配置的JSON文件,通过异步方式加载Bundle,资源存入字典
        /// </summary>
        /// <typeparam name="T">字典的值类型</typeparam>
        /// <param name="BundleConfPath">BundleConf的JSON文件路径,文件夹路径为StreamingAssets文件夹里的相对路径</param>
        /// <param name="dict">Dictionary<string,T>,键为string,值为T类型的字典</param>
        public static IEnumerator LoadBundleToDictAsync <T>(string BundleConfPath, Dictionary <string, T> dict) where T : Object
        {
            BundleConf BundleConf = new BundleConf();

            BundleConf = MeaninglessJson.LoadJsonFromFile <BundleConf>(MeaninglessJson.Path_StreamingAssets + BundleConfPath);
            AssetBundleCreateRequest createRequest = AssetBundle.LoadFromFileAsync(Application.dataPath + "/StreamingAssets/" + BundleConf.BundlePath);

            yield return(createRequest);

            if (createRequest.isDone)
            {
                foreach (string str in BundleConf.ResName)
                {
                    dict.Add(str, createRequest.assetBundle.LoadAsset <T>(str));
                }
            }
        }