기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


Pause(int)

Pauses a runnning progress indicator, and invokes the pause callback for its task.
읽는 시간 1분최근 업데이트: 25일 전

Definition

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

Parameters

id

The progress indicator's unique ID.

Returns

Type

Description

boolTrue if the task is paused, false if it cannot be paused.

Remarks

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