unity指定资源打包(AssetBundleBuild)

直接上代码

assetBundleName 与 assetBundleVariant 要分别设置

如果设置到一起的话会出现报错

报错为:AssetBundle name "prefab.unity3d" with variant "" and AssetBundle name "prefab.unity3d" with variant "unity3d" cannot coexist.

猜你喜欢

转载自www.cnblogs.com/zjp959/p/12629667.html