Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

callback

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

Remarks