docs.unity3d.com
    Show / Hide Table of Contents

    Interface IBuildTarget

    Build target interface

    Namespace: Unity.Industrial.Forma.Editor.UI.Components
    Syntax
    [MovedFrom(true, "UnityEditor.Industrial.Configuring.UI", "Unity.Industrial.Configurator.Editor", null)]
    public interface IBuildTarget

    Properties

    DisplayName

    The Build target display name.

    Declaration
    string DisplayName { get; }
    Property Value
    Type Description
    String

    SupportedBuildTarget

    The Unity Supported Build target.

    Declaration
    SupportedBuildTarget SupportedBuildTarget { get; }
    Property Value
    Type Description
    SupportedBuildTarget

    Methods

    AddButtons(VisualElement)

    Build target custom buttons.

    Declaration
    void AddButtons(VisualElement buttonContainer)
    Parameters
    Type Name Description
    VisualElement buttonContainer

    AddSettings(VisualElement)

    Build target custom UI settings.

    Declaration
    void AddSettings(VisualElement settings)
    Parameters
    Type Name Description
    VisualElement settings

    BuildAsync(IDictionary<String, String>)

    Build the target

    Declaration
    Task<bool> BuildAsync(IDictionary<string, string> configData)
    Parameters
    Type Name Description
    IDictionary<String, String> configData
    Returns
    Type Description
    Task<Boolean>

    GetBuildActionsAsync()

    Build target custom buttons.

    Declaration
    Task<IEnumerable<BuildAction>> GetBuildActionsAsync()
    Returns
    Type Description
    Task<IEnumerable<BuildAction>>

    Build actions

    Initialize(BuildProfile)

    Initialize the build target with current build profile.

    Declaration
    void Initialize(BuildProfile buildProfile)
    Parameters
    Type Name Description
    BuildProfile buildProfile

    PublishProductsAsync(Boolean, Boolean)

    Publish products using product publishers.

    Declaration
    Task<bool> PublishProductsAsync(bool displayDialogue = true, bool showLogs = false)
    Parameters
    Type Name Description
    Boolean displayDialogue

    Whether or not a prompt should show asking user to confirm whether or not they wish to publish

    Boolean showLogs

    Whether or not information regarding publish process should be printed to the console

    Returns
    Type Description
    Task<Boolean>

    True if operation was successful. False otherwise.

    PublishRuntimeAsync(Boolean, Boolean)

    Publish runtime using runtime publishers.

    Declaration
    Task<bool> PublishRuntimeAsync(bool displayDialogue = true, bool showLogs = false)
    Parameters
    Type Name Description
    Boolean displayDialogue

    Whether or not a prompt should show asking user to confirm whether or not they wish to publish

    Boolean showLogs

    Whether or not information regarding publish process should be printed to the console

    Returns
    Type Description
    Task<Boolean>

    True if operation was successful. False otherwise.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023