Class ProgressReporter
Universal progress reporter for main thread.
Inherited Members
Namespace: UnityEditor.Pixyz.UnitySDK
Assembly: Unity.Pixyz.UnitySDK.Editor.dll
Syntax
public class ProgressReporter
Constructors
ProgressReporter()
Constructor
Declaration
public ProgressReporter()
Fields
Progress
State
Declaration
public ProgressReporter.ProgressState Progress
Field Value
Type | Description |
---|---|
ProgressReporter.ProgressState |
ProgressEvent
UnityEvent to report progress
Declaration
public UnityEvent<ProgressReporter.ProgressState> ProgressEvent
Field Value
Type | Description |
---|---|
UnityEvent<ProgressReporter.ProgressState> |
Methods
Report(float)
Report progress.
Declaration
public void Report(float percentage)
Parameters
Type | Name | Description |
---|---|---|
float | percentage | Progress in percent |
Report(float, string)
Report progress.
Declaration
public void Report(float percentage, string description)
Parameters
Type | Name | Description |
---|---|---|
float | percentage | Progress in percent |
string | description | Progress description |