Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

Asset.assetPath

public string assetPath;

Description

Gets the path of the Asset relative to the project root. If the Asset is a meta file, the path to the meta file is returned.