Search Unity

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

Discussion in 'Immediate Mode GUI (IMGUI)' started by StarManta, Aug 26, 2015.

  1. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,775
    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?
     
  2. BMayne

    BMayne

    Joined:
    Aug 4, 2014
    Posts:
    186
    PixelLifetime likes this.