AssetDatabase.RefreshImportMode
Options that control whether the Editor imports assets in the Editor process, or in parallel in import worker processes, during an Asset Database refresh.
Read time 1 minuteLast updated 3 days ago
Definition
- Type: Enum
- Namespace: UnityEditor
- Assembly: UnityEditor
public enum AssetDatabase.RefreshImportMode
Remarks
To read the mode that the Asset Database currently uses, use AssetDatabase.ActiveRefreshImportMode. For more information, refer to Editor settings and Import assets simultaneously.
Fields
Value | Description |
|---|---|
| InProcess | Unity imports all assets sequentially in the Editor process. |
| OutOfProcessPerQueue | Unity imports assets in parallel in import worker processes, based on which importer handles them, and imports the rest of the assets in the Editor process. |