Version: 2023.2
言語: 日本語
public static bool Cancel (int id);

パラメーター

id The progress indicator's unique ID.

戻り値

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

説明

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

You can only call this method if a cancel callback has been registered for the specified id.
Additional resources: Progress.RegisterCancelCallback, Progress.UnregisterCancelCallback.