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

static function AssetPathToGUID (path : String) : String

Description

Get the GUID for the asset at path

All paths are relative to the project folder. Like: "Assets/MyTextures/hello.png"