Quantcast
Channel: Questions in topic: "assetbundles"
Viewing all articles
Browse latest Browse all 312

Editor Script: Get all assets in all AssetBundles

$
0
0
I'm doing an editor script, where I want to iterate over all assets in all assetbundles. My approach so far has been: foreach( var assetBundleName in UnityEditor.AssetDatabase.GetAllAssetBundleNames() ) { //GetAllAssetFromAssetBundle( assetBundleName ) <- doesn't exists as far as I know } But I'm stuck on getting an assetbundle by it's name. Is that possible? Other approaches are also most welcome :-) It should be said, that I'm using the AssetBundleManager in "Simulation Mode"... that's the factor, that complicates getting the assetbundles...

Viewing all articles
Browse latest Browse all 312

Latest Images

Trending Articles



Latest Images