Version: 2022.3

Options

enumeration

切换到手册

描述

Options that define how a progress indicator behaves.

变量

NoneA progress indicator that starts with no other options activated. This is the default.
StickyA sticky progress indicator displays progress information even after the task is complete. The system does not remove it automatically. You must remove it using a remove operation.
IndefiniteAn indefinite progress indicator shows that the associated task is in progress, but does not show how close it is to completion.
SynchronousA synchronous progress indicator updates the Editor UI as soon as it reports progress. This is the opposite of the default behavior, which is to report all progress asynchronously.
ManagedUnity manages progress indicators. When a domain reload happens, the system cancels tasks that support cancellation, and removes their progress indicators. This is the default for progress indicators started from C#.
UnmanagedAn unmanaged progress indicator is one that Unity does not manage. Unity does not cancel unmanaged progress indicators when a domain reload happens. This is the default behavior for internal-use progress indicators started from C++ code.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961