docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Convert

    Convert(Type, string)

    Method to convert the text into the object type requested. Usually the text contains a JSON formatted serialized object.

    Declaration
    public virtual 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 be converted.

    Returns
    Type Description
    object

    The converted object.

    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)