LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

AssetDatabase.GUIDToAssetPath

public static string GUIDToAssetPath(string guid);

Description

Translate a GUID to its current asset path.

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