docs.unity.cn
    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.

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Thursday, December 2, 2021
    Terms of use