docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SearchableIntField

    SearchableIntField(GUIContent, int, string)

    An int field that implements search filtering.

    Declaration
    public static int SearchableIntField(GUIContent label, int value, string searchContext)
    Parameters
    Type Name Description
    GUIContent label

    Label in front of the value field.

    int value

    The value to edit.

    string searchContext

    A string representing the current search query. Empty or null strings are to be treated as matching any value.

    Returns
    Type Description
    int

    The value that has been set by the user.

    SearchableIntField(string, int, string)

    An int field that implements search filtering.

    Declaration
    public static int SearchableIntField(string label, int value, string searchContext)
    Parameters
    Type Name Description
    string label

    Label in front of the value field.

    int value

    The value to edit.

    string searchContext

    A string representing the current search query. Empty or null strings are to be treated as matching any value.

    Returns
    Type Description
    int

    The value that has been set by the user.

    In This Article
    Back to top
    Copyright © 2024 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)