Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

id

The progress indicator's unique ID.

Returns

Type

Description

boolTrue 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.