docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetValue

    TryGetValue(string, out IVariable)

    Gets the variable with the matching key if one exists.

    Declaration
    public bool TryGetValue(string name, out IVariable value)
    Parameters
    Type Name Description
    string name
    IVariable value

    The found variable or null if one could not be found.

    Returns
    Type Description
    bool

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

    Implements
    IVariableGroup.TryGetValue(string, out IVariable)
    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)