docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CatalogItem

    Base class for most of the static data in Game Foundation. Game Foundation objects are linked to Category instances available in their catalog.

    Inheritance
    object
    CatalogItem
    BaseTransaction
    Currency
    InventoryItemDefinition
    Store
    Namespace: UnityEngine.GameFoundation
    Assembly: solution.dll
    Syntax
    public abstract class CatalogItem

    Properties

    Name Description
    displayName

    The readable name of this CatalogItem instance. It is used to make the Editor more comfortable, but it can also be used at runtime to display a readable information to the players.

    id

    The unique identifier of this CatalogItem.

    Methods

    Name Description
    Equals(object)

    Determines whether the specified object is equal to the current object.

    FindCategory(string)

    Looks for a Category, linked to this CatalogItem instance, by its id.

    GetCategories()

    Returns an array of all the Category instances linked to this CatalogItem instance. catalog.

    GetCategories(ICollection<Category>)

    Fills the given target collection with all the Category instances linked to this CatalogItem instance. The target collection is cleared before being populated.

    GetDetail<TDetail>()

    Gets the TDetail instance by its type.

    GetDetails()

    Returns an array of all the BaseDetail instances of this CatalogItem instance.

    GetDetails(ICollection<BaseDetail>)

    Fills in the given target collection with all the BaseDetail instance of this CatalogItem instance. The target collection is cleared before being populated.

    GetHashCode()

    Serves as the default hash function.

    HasCategory(string)

    Tells whether or not a Category instance with the given id is within this CatalogItem instance.

    HasCategory(Category)

    Tells whether or not the given category is within this CatalogItem instance.

    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)