Exemple #1
0
        public string GetAssetLabel(EditorAssetInfo asset, string buildRootPath)
        {
            var buildPath = FileHelper.AssetPathToBuildPath(buildRootPath, asset.AssetPath);

            if (string.IsNullOrEmpty(buildPath))
            {
                return(null);
            }

            return(AssetLabelConfig.GetAssetLabel(asset.AssetPath, asset.Extension, buildPath, asset.Guid));
        }