docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BuildContext

    Holds contextual information when building a build pipeline.

    Inheritance
    object
    ContextBase
    BuildContext
    Implements
    IDisposable
    Inherited Members
    ContextBase.Values
    ContextBase.BuildConfigurationName
    ContextBase.BuildConfigurationAssetPath
    ContextBase.BuildConfigurationAssetGUID
    ContextBase.HasValue<T>()
    ContextBase.GetValue<T>()
    ContextBase.GetOrCreateValue<T>()
    ContextBase.GetValueOrDefault<T>()
    ContextBase.SetValue<T>(T)
    ContextBase.SetValue<T>()
    ContextBase.RemoveValue<T>()
    ContextBase.HasComponent(Type)
    ContextBase.HasComponent<T>()
    ContextBase.IsComponentInherited(Type)
    ContextBase.IsComponentInherited<T>()
    ContextBase.IsComponentOverridden(Type)
    ContextBase.IsComponentOverridden<T>()
    ContextBase.TryGetComponent(Type, out IBuildComponent)
    ContextBase.TryGetComponent<T>(out T)
    ContextBase.GetComponentOrDefault(Type)
    ContextBase.GetComponentOrDefault<T>()
    ContextBase.GetComponents()
    ContextBase.GetComponents(Type)
    ContextBase.GetComponents<T>()
    ContextBase.GetComponentTypes()
    ContextBase.SetComponent(Type, IBuildComponent)
    ContextBase.SetComponent<T>(T)
    ContextBase.SetComponent(Type)
    ContextBase.SetComponent<T>()
    ContextBase.RemoveComponent(Type)
    ContextBase.RemoveComponent<T>()
    ContextBase.GetLastBuildArtifact(Type)
    ContextBase.GetLastBuildArtifact<T>()
    ContextBase.GetLastBuildResult()
    ContextBase.Dispose()
    ContextBase.GetOutputBuildDirectory()
    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 : ContextBase, IDisposable

    Properties

    Name Description
    BuildManifest

    Quick access to build manifest value.

    BuildProgress

    The build progress object used througout the build.

    Methods

    Name Description
    Failure(Exception)

    Get a build result representing a failure.

    Failure(string)

    Get a build result representing a failure.

    Success()

    Get a build result representing a success.

    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)