Class BuildManifest
Holds information about exported assets throughout a BuildPipeline 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 BuildPipeline execution.
Declaration
public IReadOnlyDictionary<Guid, string> Assets { get; }
Property Value
Type | Description |
---|---|
IReadOnlyDictionary<Guid, String> |
ExportedFiles
The list of exported files during the BuildPipeline 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 BuildManifest.
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. |