Unity 5.0 CreateFromFile

【路径区别】一个需要"file://",一个不需要;

1.WWW.LoadFromCacheOrDownload()  路径为:"file://" + Application.dataPath + "/StreamingAssets/"+ "Sphere.assetbundle"

2.AssetBundle.CreateFromFile() 路径为:Application.dataPath + "/StreamingAssets/" 

你可能感兴趣的:(Unity 5.0 CreateFromFile)