文档

Unity Engine

Unity Engine

GetTextMetaDataPathFromAssetPath(string)

Gets the path to the text.meta file associated with an asset.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
警告
Removed. GetTextMetaDataPathFromAssetPath has been renamed to GetTextMetaFilePathFromAssetPath
public static string GetTextMetaDataPathFromAssetPath(string path)

Parameters

path

Project relative path to the asset.

Returns

Type

Description

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