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

    Class StatDictionarySerializableData

    Serializable data structure that contains the state of a StatDictionary.

    Inheritance
    System.Object
    StatDictionarySerializableData
    Namespace: UnityEngine.GameFoundation.DataPersistence
    Syntax
    [Serializable]
    public class StatDictionarySerializableData

    Constructors

    StatDictionarySerializableData()

    Default constructor for serialization purpose.

    Declaration
    public StatDictionarySerializableData()

    StatDictionarySerializableData(StatDictionarySerializableData.StatType, StatSerializableData[])

    Basic constructor that takes in the type of the StatDictionary and an array of all serializaed stats

    Declaration
    public StatDictionarySerializableData(StatDictionarySerializableData.StatType type, StatSerializableData[] stats)
    Parameters
    Type Name Description
    StatDictionarySerializableData.StatType type

    The type of value of the StatDictionary

    StatSerializableData[] stats

    Array of all serialized stats of the StatDictionary

    Properties

    stats

    Array of all serialized stats of the StatDictionary

    Declaration
    public StatSerializableData[] stats { get; }
    Property Value
    Type Description
    StatSerializableData[]

    statType

    The type of value of the StatDictionary

    Declaration
    public StatDictionarySerializableData.StatType statType { get; }
    Property Value
    Type Description
    StatDictionarySerializableData.StatType
    Back to top Copyright © 2019 Unity Technologies
    Generated by DocFX