Interface IProgressTracker | Scriptable Build Pipeline | 1.5.10
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IProgressTracker

    Base interface for the build progress tracker

    Namespace: UnityEditor.Build.Pipeline.Interfaces
    Syntax
    public interface IProgressTracker : IContextObject

    Properties

    Progress

    Current 0.0f to 1.0f progress though the TaskCount

    Declaration
    float Progress { get; }
    Property Value
    Type Description
    Single

    TaskCount

    Number of build tasks to run

    Declaration
    int TaskCount { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    UpdateInfo(String)

    Updates the secondary information display of the progress bar.

    Declaration
    bool UpdateInfo(string taskInfo)
    Parameters
    Type Name Description
    String taskInfo

    The secondary information to display on the progress bar.

    Returns
    Type Description
    Boolean

    false if the build should not continue due to user interaction with the progress bar; otherwise, true.

    UpdateTask(String)

    Increments and updated the title of the progress bar.

    Declaration
    bool UpdateTask(string taskTitle)
    Parameters
    Type Name Description
    String taskTitle

    The title to display on the progress bar.

    Returns
    Type Description
    Boolean

    false if the build should not continue due to user interaction with the progress bar; otherwise, true.

    Extension Methods

    TrackerExtensions.UpdateTaskUnchecked(IProgressTracker, String)
    TrackerExtensions.UpdateInfoUnchecked(IProgressTracker, String)
    Back to top
    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