Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

AssetDatabase.GetTextMetaFilePathFromAssetPath

public static string GetTextMetaFilePathFromAssetPath(string path);

Parameters

pathThe path to the asset.

Returns

string The path to the .meta text file or empty string if the file does not exist.

Description

Gets the path to the text .meta file associated with an asset.

Did you find this page useful? Please give it a rating: