docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetValue

    TryGetValue(string, out VariablesGroupAsset)

    Returns true if a global variable group could be found with a matching name, or false if one could not.

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

    The name of the global variable group to find.

    VariablesGroupAsset value

    The found global variable group or null if one could not be found with a matching name.

    Returns
    Type Description
    bool

    true if a group 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)