docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class CatalogItem

    Base class for most of the static data in Game Foundation.

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

    Properties

    Name Description
    this[string]

    Get the value of the static property with the given propertyKey.

    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.

    key

    The unique identifier of this CatalogItem.

    Methods

    Name Description
    Equals(object)

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

    FindTag(string)

    Looks for a Tag, linked to this CatalogItem instance, by its tagKey.

    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.

    GetStaticProperties()

    Get all static properties stored in this item.

    GetStaticProperties(Dictionary<string, Property>)

    Get all static properties stored in this item.

    GetStaticProperty(string)

    Get the value of the static property with the given propertyKey.

    GetTags()

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

    GetTags(ICollection<Tag>)

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

    HasStaticProperty(string)

    Check if this item has a static property with the given propertyKey.

    HasTag(string)

    Tells whether or not a Tag instance with the given tagKey is within this CatalogItem instance.

    HasTag(Tag)

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

    TryGetStaticProperty(string, out Property)

    Try to get the value of the static property with the given propertyKey.

    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)