Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetPriority

Sets a progress indicator's priority.
Read time 1 minuteLast updated 6 days ago

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).