docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DeploymentWindowExtensions

    Provides additional methods to facilitate using IDeploymentWindow

    Inheritance
    object
    DeploymentWindowExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.DeploymentApi.Editor
    Assembly: Unity.Services.DeploymentApi.dll
    Syntax
    public static class DeploymentWindowExtensions

    Methods

    Deploy(IDeploymentWindow, IReadOnlyList<string>, CancellationToken)

    Deploys the specified deployment items by path.

    Declaration
    public static Task<DeploymentResult<IDeploymentItem>> Deploy(this IDeploymentWindow self, IReadOnlyList<string> filePaths, CancellationToken token = default)
    Parameters
    Type Name Description
    IDeploymentWindow self

    The IDeploymentWindow implementation

    IReadOnlyList<string> filePaths

    The File Paths to deploy

    CancellationToken token

    Cancellation token for the operation

    Returns
    Type Description
    Task<DeploymentResult<IDeploymentItem>>

    The DeploymentResult object

    GetAllDeploymentItems(IDeploymentWindow, bool)

    Gets all the currently available DeploymentItems

    Declaration
    public static List<IDeploymentItem> GetAllDeploymentItems(this IDeploymentWindow self, bool includeDeploymentDefinitions = false)
    Parameters
    Type Name Description
    IDeploymentWindow self

    The IDeploymentWindow implementation

    bool includeDeploymentDefinitions

    Whether or not to include the DeploymentDefinitions as part of the result

    Returns
    Type Description
    List<IDeploymentItem>

    The found DeploymentItems

    In This Article
    Back to top
    Copyright © 2025 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)