기술 자료

Unity Engine

Unity Engine

Cancel(int)

Cancels a runnning progress indicator, and invokes the cancel callback for the associated task.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool Cancel(int id)

Parameters

id

The progress indicator's unique ID.

Returns

Type

Description

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

Remarks

You can only call this method if a cancel callback has been registered for the specified id.