CollectDependencie or CollectDeepHierarchy ?

Just curious, what the difference between this two function. According to the documentation, they are totally same. Am I right?

[3711-2012-9-25+19-32-04.png|3711]

I made a quick testing EditorWindow.

This is the result for CollectDeepHierarchy:

And here’s the result for CollectDependencies:

The same test again with a cube as subobject (but without visual links :wink: )


  • The green link shows the source object.
  • Blue links are instance links to objects in the scene. Note that only gameobjects and components are listed
  • Red links are Asset links