yyl
4 天以前 0f83cf8d6016901c98a8adbbb02c7556ea9e4fcf
Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
1个文件已修改
7 ■■■■ 已修改文件
Main/ResModule/AssetBundle/AssetBundleUtility.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/ResModule/AssetBundle/AssetBundleUtility.cs
@@ -99,6 +99,7 @@
    public async UniTask Initialize()
    {
        await UniTask.Delay(200);
        await Co_LoadMainfestFile("audio");
        // await Co_LoadMainfestFile("video");
        await Co_LoadMainfestFile("mobeffectshader");
@@ -369,7 +370,11 @@
    public UnityEngine.Object Sync_LoadAsset(string assetBundleName, string assetName, Type _type = null)
    {
        if (string.IsNullOrEmpty(assetName))
        {
            Debug.LogErrorFormat("Sync_LoadAsset(): {0}, 出现错误 => 存入的AssetName为null. ", assetName);
            return null;
        }
#if UNITY_5||UNITY_5_3_OR_NEWER
        assetBundleName = assetBundleName.ToLower();
#endif