Class ProgressReporter
Inherited Members
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
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
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. |