docs.unity3d.com
Search Results for

    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
    Implements
    IBuildContent
    IContextObject
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Build.Pipeline
    Assembly: Unity.ScriptableBuildPipeline.Editor.dll
    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>

    CustomAssets

    List of custom content to be included in asset bundles.

    Declaration
    public List<CustomContent> CustomAssets { get; }
    Property Value
    Type Description
    List<CustomContent>

    Scenes

    List of Scenes to include.

    Declaration
    public List<GUID> Scenes { get; }
    Property Value
    Type Description
    List<GUID>

    Implements

    IBuildContent
    IContextObject
    In This Article
    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)