docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method TryGetDataDictionary

    TryGetDataDictionary(string, Dictionary<string, object>)

    Try to find the dictionary of data with the given name and deserialize it into the given dictionary.

    Declaration
    public bool TryGetDataDictionary(string dictionaryName, Dictionary<string, object> dataDictionary)
    Parameters
    Type Name Description
    string dictionaryName

    The name of the dictionary to retrieve.

    Dictionary<string, object> dataDictionary

    A dictionary of data to fill with the found data. It must not be null and it will be cleared even if no dictionary is found.

    Returns
    Type Description
    bool

    Returns true if the dictionary was found and deserialized into the given dictionary; returns false otherwise.

    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)