docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Convert

    Convert(Type, string)

    Converts raw text into requested object type via JSONUtility.FromJson.

    Declaration
    public override object Convert(Type type, string text)
    Parameters
    Type Name Description
    Type type

    The object type the text is converted to.

    string text

    The text to convert.

    Returns
    Type Description
    object

    Returns the converted object.

    Overrides
    TextDataProvider.Convert(Type, string)
    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)