assetdatabase.assetpathtoguid 资源路径转guid

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

摘要: assetdatabase.assetpathtoguid 资源路径转guidstatic functionassetpathtoguid(path: string) : stringdescription描述get the guid for the asset at path返回指定路径path下资源的guid(全局唯一标识符)。all path ...

assetdatabase.assetpathtoguid 资源路径转guid

static functionassetpathtoguid(path: string) : string

description描述

get the guid for the asset at path

返回指定路径path下资源的guid(全局唯一标识符)。

all paths are relative to the project folder. like: "assets/mytextures/hello.png"

所有的路径都是相对于工程目录文件。例如” assets/mytextures/hello.png”

相关阅读

文章点评
相关文章