assetdatabase.getdependencies 获取相关资源列表

2014-12-31 21:26| 发布者: 杨炎| 查看: 2105| 评论: 0|原作者: 蛮牛|来自: yzc88亚洲城脚本manual

摘要: assetdatabase.getdependencies 获取相关资源列表static functiongetdependencies(pathnames: string) : stringdescription描述given an asset pathname, returns the list of all assets it depends on.已知资源pat ...

assetdatabase.getdependencies 获取相关资源列表

static functiongetdependencies(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标识符本身。

相关阅读

文章点评
相关文章