docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Contains

    Contains(KeyValuePair<string, IVariable>)

    Returns true if a variable with the specified name exists.

    Declaration
    public bool Contains(KeyValuePair<string, IVariable> item)
    Parameters
    Type Name Description
    KeyValuePair<string, IVariable> item

    The item to check for. Both the Key and Value must match.

    Returns
    Type Description
    bool

    true if a matching variable could be found or false if one could not.

    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)