docs.unity.cn
    Show / Hide Table of Contents

    Struct CustomObjectIndexerTarget

    Descriptor for the object that is about to be indexed. It stores a reference to the object itself as well a an already setup SerializedObject.

    Namespace: UnityEditor.Search
    Syntax
    public struct CustomObjectIndexerTarget

    Fields

    documentIndex

    Document Index owning the object to index.

    Declaration
    public int documentIndex
    Field Value
    Type Description
    Int32

    id

    Object Id. It is the object path in case of an asset or the GlobalObjectId in terms of a scene object.

    Declaration
    public string id
    Field Value
    Type Description
    String

    serializedObject

    Serialized representation of the object to be indexed.

    Declaration
    public SerializedObject serializedObject
    Field Value
    Type Description
    SerializedObject

    target

    Object to be indexed.

    Declaration
    public Object target
    Field Value
    Type Description
    Object

    targetType

    Type of the object to index.

    Declaration
    public Type targetType
    Field Value
    Type Description
    Type
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, October 26, 2022
    Terms of use