How to get 'child assets' of imported FBX's?

I need to be able to access the ‘child assets’ - in particular, I need the AnimationClip that a FBX (which reads as a GameObject when selected) contains. I see AssetDatabase.AddObjectToAsset; I need the inverse operation of that, to see what objects already exist on an asset.

I’m using Unity 5.1.2.

Does this function exist in AssetDatabase?

Hello there,

You can use AssetDatabase.LoadAllAssetRepresentationsAtPath

Cheers,

1 Like