docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct SearchProposition

    Implements
    IEquatable<SearchProposition>
    IComparable<SearchProposition>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.Search
    Assembly: com.unity.quicksearch.dll
    Syntax
    public readonly struct SearchProposition : IEquatable<SearchProposition>, IComparable<SearchProposition>

    Constructors

    SearchProposition(string, string, string, int, TextCursorPlacement, Texture2D)

    Declaration
    public SearchProposition(string label, string replacement = null, string help = null, int priority = 2147483647, TextCursorPlacement moveCursor = TextCursorPlacement.MoveAutoComplete, Texture2D icon = null)
    Parameters
    Type Name Description
    string label
    string replacement
    string help
    int priority
    TextCursorPlacement moveCursor
    Texture2D icon

    Methods

    CompareTo(SearchProposition)

    Declaration
    public int CompareTo(SearchProposition other)
    Parameters
    Type Name Description
    SearchProposition other
    Returns
    Type Description
    int

    Equals(object)

    Declaration
    public override bool Equals(object other)
    Parameters
    Type Name Description
    object other
    Returns
    Type Description
    bool
    Overrides
    ValueType.Equals(object)

    Equals(SearchProposition)

    Declaration
    public bool Equals(SearchProposition other)
    Parameters
    Type Name Description
    SearchProposition other
    Returns
    Type Description
    bool

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    ValueType.ToString()

    Implements

    IEquatable<T>
    IComparable<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)