Legacy Documentation: Version 5.2
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AssetDatabase.GUIDToAssetPath

Switch to Manual
public static string GUIDToAssetPath(string guid);

Parameters

Description

Translate a GUID to its current asset path.

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