GetView(bool)
Opens a view on the PropertyDatabase.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public IPropertyDatabaseView GetView(bool delayedSync = false)
Parameters
Boolean indicating if the sync between views should only happen when the view is disposed, or for every operation.
Returns
Type | Description |
|---|---|
| IPropertyDatabaseView | The PropertyDatabase view. |
Remarks
The view handles all the internal file operations and concurrent accesses. All operations on the PropertyDatabase create a view, so for performance reasons you should get a view with PropertyDatabase.GetView and do all your operations with it.
Additional Resources: IPropertyDatabaseView