Version: 2021.3

Progress.Item.RegisterCancelCallback

切换到手册
public void RegisterCancelCallback (Func<bool> callback);

参数

callback The function called when a progress indicator's associated task is canceled.

描述

Registers a callback that is called when the user cancels a running progress indicator's associated task.