This version of Unity is unsupported.

Progress.Cancel

Declaration

public static bool Cancel(int id);

Parameters

id The progress indicator's unique ID.

Returns

bool True if the associated task is cancelled, false if it cannot be cancelled.

Description

Cancels a runnning progress indicator, and invokes the cancel callback for the associated task.