Class BuildManifest
Holds information about exported assets throughout a build pipeline execution. All exported assets listed in the build manifest will also be installed in the build data directory.
Namespace: Unity.Build
Syntax
public sealed class BuildManifest
Properties
Assets
A dictionary of all assets exported during the build pipeline execution.
Declaration
public IReadOnlyDictionary<Guid, string> Assets { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyDictionary<Guid, String> |
ExportedFiles
The list of exported files during the build pipeline execution.
Declaration
public IEnumerable<FileInfo> ExportedFiles { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<FileInfo> |
Methods
Add(Guid, String, IEnumerable<FileInfo>)
Add an asset and its exported files to the build manifest.
Declaration
public void Add(Guid assetGuid, string assetPath, IEnumerable<FileInfo> exportedFiles)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | assetGuid | The asset Guid. |
| String | assetPath | The asset path. |
| IEnumerable<FileInfo> | exportedFiles | The files that were exported by the asset exporter for this asset. |