Version: 2020.3
public static void SetPriority (int id, int priority);
public static void SetPriority (int id, Unity.IO.LowLevel.Unsafe.Priority priority);

参数

id The progress indicator's unique ID.
priority The priority.

描述

Sets a progress indicator's priority.

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

See Also: Progress.GetPriority, Progress.Item.priority, Progress.Item.SetPriority.