docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetStatDefinitions

    GetStatDefinitions()

    Returns an array of all stat definitions in this catalog.

    Declaration
    public StatDefinition[] GetStatDefinitions()
    Returns
    Type Description
    StatDefinition[]

    An array of all stat definitions in this catalog.

    GetStatDefinitions(List<StatDefinition>)

    Fills the given list with all stat definitions in this catalog. Note: this returns the current state of all stat definitions. To ensure that there are no invalid or duplicate entries, the list will always be cleared and 'recycled' (i.e. updated) with current data.

    Declaration
    public void GetStatDefinitions(List<StatDefinition> statDefinitions)
    Parameters
    Type Name Description
    List<StatDefinition> statDefinitions

    The list to clear and fill with updated data.

    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)