Class BuildManifest | Platforms | 0.2.2-preview.10
docs.unity.cn
    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    BuildManifest
    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.

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX