docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddStatInt

    AddStatInt(int, int)

    Adds default value to StatDetailDefinition for specified stat. This method throws if not in editor mode.

    Declaration
    public void AddStatInt(int statDefinitionHash, int value)
    Parameters
    Type Name Description
    int statDefinitionHash

    The StatDefinition Hash to address.

    int value

    The default value for the stat.

    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)