docs.unity.cn
    Show / Hide Table of Contents

    Class ProgressBarReporter

    Reports the progress using EditorUtility.DisplayProgressBar.

    Inheritance
    Object
    TaskTimerReporter
    ProgressBarReporter
    Inherited Members
    TaskTimerReporter.CurrentProgress
    TaskTimerReporter.Started
    TaskTimerReporter.Start(String, String)
    TaskTimerReporter.ReportProgress(String, Single)
    TaskTimerReporter.Completed(String)
    TaskTimerReporter.Fail(String)
    Namespace: UnityEditor.Localization.Reporting
    Syntax
    public class ProgressBarReporter : TaskTimerReporter, ITaskReporter

    Properties

    ReportTaskSummaryInConsole

    Should a summary of the process be printed to the console after the task is completed?

    Declaration
    public bool ReportTaskSummaryInConsole { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    PrintStatus(String, String, Single)

    Called after ReportProgress(String, Single) to print a summary of the progress.

    Declaration
    protected override void PrintStatus(string title, string description, float progress)
    Parameters
    Type Name Description
    String title
    String description
    Single progress
    Overrides
    TaskTimerReporter.PrintStatus(String, String, Single)

    PrintSummary(String, Boolean)

    Called after Completed(String) or Fail(String) to optionally print a summary of the whole task.

    Declaration
    protected override void PrintSummary(string summary, bool fail)
    Parameters
    Type Name Description
    String summary
    Boolean fail
    Overrides
    TaskTimerReporter.PrintSummary(String, Boolean)
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, June 9, 2022
    Terms of use