Class BuildContent | Scriptable Build Pipeline | 1.7.3
docs.unity.cn
    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()

    Default constructor, creates an empty BuildContent.

    Declaration
    public BuildContent()

    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 © 2020 Unity Technologies
    Generated by DocFX