RegisterCancelCallback(Func<bool>)
Registers a callback that is called when the user cancels a running progress indicator's associated task.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public void RegisterCancelCallback(Func<bool> callback)
Parameters
The function called when a progress indicator's associated task is canceled.
Remarks
Additional Resources: Progress.RegisterCancelCallback, Progress.Item.UnregisterCancelCallback, Progress.Item.Cancel.