AssetDatabase.GetDependencies 获取相关资源列表

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

Description描述

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

已知资源pathName,返回与它有依赖关系的所有资源列表。

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.

列表也将会包含输入的路径名本身,已知数组pathNames,返回该资源所以来的所有资源列表。这个返回的列表也将包含输入的guid标识符本身。

Page last updated: 2011-5-31