Class CatalogItemAsset
Base class for most of the static data in Game Foundation.
Implements
Inherited Members
Namespace: UnityEngine.GameFoundation.DefaultCatalog
Assembly: solution.dll
Syntax
public abstract class CatalogItemAsset : ScriptableObject, ISerializationCallbackReceiver
Properties
| Name | Description |
|---|---|
| catalog | Reference to the catalog of this item. |
| displayName | The readable name of this CatalogItemAsset 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 identifier of the CatalogItem constructed from this asset. |
Methods
| Name | Description |
|---|---|
| Awake() | Initializes the internal collections. |
| AwakeDefinition() | Overriden by inherited classes to initialize specific members. |
| ConfigureItem(CatalogBuilder) | Configures a specified |
| DeserializeListsToDictionary<TKey, TValue>(List<TKey>, List<TValue>, Dictionary<TKey, TValue>) | Deserialize the given lists into the given dictionary. |
| FindTag(string) | Looks for a TagAsset, linked to this
CatalogItemAsset instance, by its |
| GetDetail<TDetailAsset>() | Gets the |
| GetDetails() | Returns an array of all detail definitions on this game item definition. |
| GetDetails(ICollection<BaseDetailAsset>) | Fills in the given |
| GetStaticProperties() | Get all static properties stored in this item. |
| GetTags() | Returns an array of all the TagAsset instances linked to this CatalogItemAsset instance. catalog. |
| GetTags(ICollection<TagAsset>) | Fills the given |
| HasTag(string) | Tells whether or not a TagAsset instance with the
given |
| HasTag(TagAsset) | Tells whether or not the given |
| OnAfterItemDeserialize() | Called at the end of OnAfterDeserialize. Enable inheritance to add specific deserialization process. |
| OnBeforeItemSerialize() | Called at the end of OnBeforeSerialize. Enable inheritance to add specific serialization process. |