Class CatalogItem
Base class for most of the static data in Game Foundation.
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 |
| 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 |
| GetDetail<TDetail>() | Gets the |
| GetDetails() | Returns an array of all the BaseDetail instances of this CatalogItem instance. |
| GetDetails(ICollection<BaseDetail>) | Fills in the given |
| 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 |
| GetTags() | Returns an array of all the Tag instances linked to this CatalogItem instance. catalog. |
| GetTags(ICollection<Tag>) | Fills the given |
| HasStaticProperty(string) | Check if this item has a static property with the given |
| HasTag(string) | Tells whether or not a Tag instance with the
given |
| HasTag(Tag) | Tells whether or not the given |
| TryGetStaticProperty(string, out Property) | Try to get the value of the static property with the given |