Pause(int)
Pauses a runnning progress indicator, and invokes the pause callback for its task.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static bool Pause(int id)
Parameters
The progress indicator's unique ID.
Returns
Type | Description |
|---|---|
| bool | True if the task is paused, false if it cannot be paused. |
Remarks
You can only call this method if a pause callback has been registered for the specified id.
Additional Resources: Progress.RegisterPauseCallback, Progress.UnregisterPauseCallback, Progress.Resume.