AssetDatabase.GetDependencies Manual     Reference     Scripting  
Scripting > Editor Classes > AssetDatabase
AssetDatabase.GetDependencies

static function GetDependencies (pathNames : string[]) : string[]

Description

Given an asset pathName, returns the list of all assets it depends on.

The list returned will also include the input path name itself. Given an array of pathNames, returns the list of all assets that the assets depend on. The list returned will also include the input guid themselves.