Class BuildContent | Scriptable Build Pipeline | 1.5.10
docs.unity3d.com
    Show / Hide Table of Contents

    Class BuildContent

    Basic implementation of IBuildContent. Stores the list of Assets to feed the Scriptable Build Pipeline. IBuildContent

    Inheritance
    Object
    BuildContent
    Namespace: UnityEditor.Build.Pipeline
    Syntax
    [Serializable]
    public class BuildContent : IBuildContent, IContextObject

    Constructors

    BuildContent(IEnumerable<GUID>)

    Default constructor, takes a set of Assets and converts them to the appropriate properties.

    Declaration
    public BuildContent(IEnumerable<GUID> assets)
    Parameters
    Type Name Description
    IEnumerable<GUID> assets

    The set of Assets identified by GUID to ensure are packaged with the build

    Properties

    Assets

    List of Assets to include.

    Declaration
    public List<GUID> Assets { get; }
    Property Value
    Type Description
    List<GUID>
    Implements
    IBuildContent.Assets

    Scenes

    List of Scenes to include.

    Declaration
    public List<GUID> Scenes { get; }
    Property Value
    Type Description
    List<GUID>
    Implements
    IBuildContent.Scenes
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023