Library/PackageCache/com.unity.quicksearch@1.6.0-preview.8/Editor/Indexing/ObjectIndexer.cs
/// <summary>
/// Call all the registered custom indexer for a specific object. See <see cref="CustomObjectIndexerAttribute"/>.
/// </summary>
/// <param name="id">Object id.</param>
/// <param name="obj">Object to index.</param>
/// <param name="documentIndex">Document where the indexed object was found.</param>
Call all the registered custom indexer for a specific object. See .
Call all the registered custom indexer for a specific object . See .
protected void IndexCustomProperties(string id, int documentIndex, Object obj)
        {
            using (var so = new SerializedObject(obj))
            {
                CallCustomIndexers(id, obj, documentIndex, so);
            }
        }
protected void IndexCustomProperties ( string id , int documentIndex , Object obj ) { using ( var so = new SerializedObject ( obj ) ) { CallCustomIndexers ( id , obj , documentIndex , so ) ; } }
Call all the registered custom indexer for a specific object.
Call all the registered custom indexer for a specific object .
id
string
None
documentIndex
int
Document where the indexed object was found.
Document where the indexed object was found .
obj
Object
Object to index.
Object to index .