SkipAssetDatabaseRefresh
Skip the Asset Database refresh that normally runs after the sample's files are imported.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Field
- Namespace: UnityEditor.PackageManager.UI
- Assembly: UnityEditor.CoreModule
SkipAssetDatabaseRefresh = 4
Remarks
Use this when chaining multiple imports or performing additional setup work in a Sample.OnBeforeImportFinish handler, so the refresh runs once after all work completes rather than after each individual import. When set, the caller is responsible for triggering an Asset Database refresh when the imported files should be picked up.