Class DataSerializerFactory | Package Manager UI website
docs.unity.cn
    Show / Hide Table of Contents

    Class DataSerializerFactory

    Data Serializer factory class

    Inheritance
    System.Object
    DataSerializerFactory
    Namespace: UnityEngine.GameFoundation.DataPersistence
    Syntax
    public static class DataSerializerFactory

    Methods

    Produce(DataSerializerType)

    Produces an instance of a specified serializer type

    Declaration
    public static IDataSerializer Produce(DataSerializerType type)
    Parameters
    Type Name Description
    DataSerializerType type

    Serializer type to produce

    Returns
    Type Description
    IDataSerializer

    Specified serializer instance

    Exceptions
    Type Condition
    System.NotImplementedException

    Exception thrown when given DataSerializerType passed to method is a type that is not supported

    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX