docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class StatCatalog

    Definitions for StatDefinitions. The Stat Catalog serves as a way to find references to Definitions, as needed.

    Inheritance
    object
    Object
    ScriptableObject
    StatCatalog
    Inherited Members
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.DontDestroyOnLoad(Object)
    Object.FindObjectsOfType<T>()
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType(Type)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public class StatCatalog : ScriptableObject

    Methods

    Name Description
    AddStatDefinition(StatDefinition)

    Adds the given StatDefintion to this Catalog.

    Create()

    Creates a new StatCatalog.

    GetStatDefinition(int)

    Find and return Stat definition by its Hash.

    GetStatDefinition(string)

    Find and return a StatDefinition by its Id.

    GetStatDefinitions()

    Returns an array of all stat definitions in this catalog.

    GetStatDefinitions(List<StatDefinition>)

    Fills the given list with all stat definitions in this catalog.

    IsStatDefinitionHashUnique(int)

    Determine if specified Stat definition Hash is unique in the Stat catalog.

    RemoveStatDefinition(StatDefinition)

    Removes the given StatDefinition from this Catalog.

    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)