Version: 2022.2
LanguageEnglish
  • C#

PropertyDatabase.GetView

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public Search.IPropertyDatabaseView GetView(bool delayedSync);

Parameters

delayedSync Boolean indicating if the sync between views should only happen when the view is disposed, or for every operation.

Returns

IPropertyDatabaseView The PropertyDatabase view.

Description

Opens a view on the PropertyDatabase.

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.

See Also: IPropertyDatabaseView