Library/PackageCache/com.unity.quicksearch@1.6.0-preview.8/Editor/Indexing/ObjectIndexer.cs
/// <summary>
/// Add a key-number value pair to the index. The key won't be added with variations. See <see cref="SearchIndexer.AddNumber"/>.
/// </summary>
/// <param name="id">Debug information</param>
/// <param name="name">Key used to retrieve the value.</param>
/// <param name="number">Number value to store in the index.</param>
/// <param name="documentIndex">Document where the indexed value was found.</param>
Add a key-number value pair to the index. The key won't be added with variations. See .
Add a key - number value pair to the index . The key won ' t be added with variations . See .
public void IndexNumber(string id, string name, double number, int documentIndex)
        {
            IndexDebugMatch(id, name, number.ToString());
            AddNumber(name, number, settings.baseScore, documentIndex);
        }
public void IndexNumber ( string id , string name , double number , int documentIndex ) { IndexDebugMatch ( id , name , number . ToString ( ) ) ; AddNumber ( name , number , settings . baseScore , documentIndex ) ; }
Add a key-number value pair to the index.
Add a key - number value pair to the index .
id
string
None
name
string
Key used to retrieve the value.
Key used to retrieve the value .
number
double
Number value to store in the index.
Number value to store in the index .
documentIndex
int
Document where the indexed value was found.
Document where the indexed value was found .