docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StatDefinition

    This is one entry in the list of possible stats an item could have.

    Inheritance
    object
    StatDefinition
    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class StatDefinition

    Constructors

    Name Description
    StatDefinition(string, string, StatValueType)

    This is one entry in the list of possible Stats an item could have. This method throws if not in editor mode.

    Properties

    Name Description
    displayName

    Custom string attached to this Stat definition.

    id

    Id for this Stat definition.

    idHash

    Hash for Id string for this Stat definition.

    statValueType

    Stat value type for this Stat definition.

    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)