docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method BuildContentArchives

    BuildContentArchives(BuildTarget, HashSet<UntypedWeakReferenceId>, HashSet<UntypedWeakReferenceId>, IEnumerable<CustomContent>, string, out IBundleBuildResults, IList<IBuildTask>, params IContextObject[])

    Build the set of Content Archives from a set of WeakObjectReferenceIds.

    Declaration
    public static ReturnCode BuildContentArchives(BuildTarget buildTarget, HashSet<UntypedWeakReferenceId> objReferences, HashSet<UntypedWeakReferenceId> sceneReferences, IEnumerable<CustomContent> customContent, string outputPath, out IBundleBuildResults results, IList<IBuildTask> taskList, params IContextObject[] contextObjects)
    Parameters
    Type Name Description
    BuildTarget buildTarget

    The target platform for the built data.

    HashSet<UntypedWeakReferenceId> objReferences

    Set of object references to build.

    HashSet<UntypedWeakReferenceId> sceneReferences

    Set of scene references to build.

    IEnumerable<CustomContent> customContent

    Custom content to include in the build.

    string outputPath

    The output path to build archives into.

    IBundleBuildResults results

    The results data from the build. This is returned in order to create the catalog data.

    IList<IBuildTask> taskList

    The task list to use when building the content archives.

    IContextObject[] contextObjects

    Additional content objects to pass into the build pipeline.

    Returns
    Type Description
    ReturnCode

    The result of the archive build process.

    In This Article
    • BuildContentArchives(BuildTarget, HashSet<UntypedWeakReferenceId>, HashSet<UntypedWeakReferenceId>, IEnumerable<CustomContent>, string, out IBundleBuildResults, IList<IBuildTask>, params IContextObject[])
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)