AssetDatabase.AssetPathToGUID 资源路径转GUID

static function AssetPathToGUID (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”

Page last updated: 2011-5-31