Class FuzzySearch | Quick Search | 1.5.4
docs.unity3d.com
    Show / Hide Table of Contents

    Class FuzzySearch

    Inheritance
    Object
    FuzzySearch
    Namespace: Unity.QuickSearch
    Syntax
    public static class FuzzySearch

    Fields

    HighlightColorTag

    Declaration
    public static string HighlightColorTag
    Field Value
    Type Description
    String

    HighlightColorTagSpecial

    Declaration
    public static string HighlightColorTagSpecial
    Field Value
    Type Description
    String

    Methods

    FuzzyMatch(String, String, ref Int64, List<Int32>)

    Performs a fuzzy search on a string to see if it matches a pattern.

    Declaration
    public static bool FuzzyMatch(string pattern, string origin, ref long outScore, List<int> matches)
    Parameters
    Type Name Description
    String pattern

    Pattern that we try to match the source string

    String origin

    String we are looking into for a match

    Int64 outScore

    Score of the match. A higher score means the pattern is a better match for the string.

    List<Int32> matches

    List of indices in the source string where a match was found.

    Returns
    Type Description
    Boolean

    Returns true if a match was found

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023