Resume(int)
Resumes a paused progress indicator, and invokes the pause callback for the associated task.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static bool Resume(int id)
Parameters
The progress indicator's unique ID.
Returns
Type | Description |
|---|---|
| bool | True if the task resumes, false if it cannot resume. |
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.Pause.