docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor StatItemSerializableData

    StatItemSerializableData(StatType, int, string, object, object)

    Basic constructor that take in the type of the value of the stat, the GameItem hash id of the stat, the definition id of the stat, the current value and the default value of the stat.

    Declaration
    public StatItemSerializableData(StatDictionarySerializableData.StatType type, int gameItemId, string definitionId, object value, object defaultValue)
    Parameters
    Type Name Description
    StatDictionarySerializableData.StatType type
    int gameItemId
    string definitionId
    object value
    object defaultValue

    StatItemSerializableData()

    Default constructor for serialization purpose.

    Declaration
    public StatItemSerializableData()
    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)