Version: 2023.1
LanguageEnglish
  • C#

CustomObjectIndexerTarget

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

Represents a descriptor for the object that is about to be indexed. It stores a reference to the object itself as well as an already set up SerializedObject.

Properties

documentIndexDocument Index which owns the object to index.
idObject Id. The object path for an asset or the GlobalObjectId for a scene object.
serializedObjectSerialized representation of the object to be indexed.
targetObject to index.
targetTypeObject type to index.