Version: 2023.2
LanguageEnglish
  • C#

SearchMonitorView

struct in UnityEditor.Search

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

Description

Scoped search monitor view.

This struct provides a view on Search's main PropertyDatabases. Search offers some convenient PropertyDatabases to cache data. If this data comes from scenes or assets, those will be invalidated automatically whenever the scene or asset changes. If it comes from another source, you need to manage the invalidation process yourself with Invalidate and InvalidateDocument.

Public Methods

InvalidateMark a document property to be invalided.
InvalidateDocumentMark a document to be invalidated.
StoreAliasStore a property alias in the property string table.
StorePropertyStore a property value.
TryLoadAliasGets a property alias if any.
TryLoadPropertyLoads a property if any.