docs.unity3d.com
    目次を表示する/隠す

    Class ProgressReporter

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

    Properties

    Options

    Options for the Progress.

    Declaration
    public Progress.Options Options { get; set; }
    Property Value
    Type Description
    Progress.Options

    ProgressId

    UnityEditor.Progress Id.

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

    ReportTaskSummaryInConsole

    Should the summary be sent to the console using Debug.Log/Debug.LogError?

    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)

    Start(String, String)

    Start the process.

    Declaration
    public override void Start(string title, string description)
    Parameters
    Type Name Description
    String title
    String description

    An optional description of the process.

    Overrides
    TaskTimerReporter.Start(String, String)
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)