Unity 5.0 CreateFromFile

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

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

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

posted @ 2015-06-15 18:43  关雎天下  阅读(336)  评论(0编辑  收藏  举报