docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildContext

    Holds contextual information while a BuildPipeline is executing.

    Inheritance
    object
    BuildContext
    Implements
    IDisposable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Unity.Build
    Assembly: solution.dll
    Syntax
    public sealed class BuildContext : IDisposable

    Properties

    Name Description
    BuildManifest

    Quick access to BuildManifest value.

    BuildPipelineStatus

    Current BuildPipeline execution status.

    BuildProgress

    The BuildProgress object used througout the build.

    Values

    List of all values stored.

    Methods

    Name Description
    Dispose()

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    GetOrCreateValue<T>()

    Get value of type T if found, otherwise a new instance of type T constructed with TypeConstruction.

    GetValue<T>()

    Get value of type T if found, otherwise null.

    HasValue<T>()

    Determine if the value of type T exists.

    RemoveValue<T>()

    Remove value of type T from this BuildContext.

    SetValue<T>(T)

    Set value of type T to this BuildContext.

    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)