Documentation

Unity Engine

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 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public void RegisterCancelCallback(Func<bool> callback)

Parameters

callback

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

Remarks