文档

Unity Engine

Unity Engine

SetPriority

Sets a progress indicator's priority.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

SetPriority(int, int)

Sets a progress indicator's priority.
public static void SetPriority(int id, int priority)

Parameters

id

The progress indicator's unique ID.

priority

The priority.

Remarks

Progress indicators are sorted by priority, from highest to lowest. Priorities also determine the visual behavior of progress indicators (see Progress.Priority).

SetPriority(int, Priority)

Sets a progress indicator's priority.
public static void SetPriority(int id, Progress.Priority priority)

Parameters

id

The progress indicator's unique ID.

priority

The priority.

Remarks

Progress indicators are sorted by priority, from highest to lowest. Priorities also determine the visual behavior of progress indicators (see Progress.Priority).