Class CatalogItemAsset
Base class for most of the static data in Game Foundation.
Implements
Inherited Members
Namespace: UnityEngine.GameFoundation.CatalogManagement
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. |
id | The string Id of this GameItemDefinition. |
Methods
Name | Description |
---|---|
Awake() | Initializes the internal collections. |
AwakeDefinition() | Overriden by inherited classes to initialize specific members. |
ConfigureItem(CatalogBuilder) | Configures a specified |
FindCategory(string) | Looks for a CategoryAsset, linked to this
CatalogItemAsset instance, by its |
GetCategories() | Returns an array of all the CategoryAsset instances linked to this CatalogItemAsset instance. catalog. |
GetCategories(ICollection<CategoryAsset>) | Fills the given |
GetDetail<TDetailAsset>() | Gets the |
GetDetails() | Returns an array of all detail definitions on this game item definition. |
GetDetails(ICollection<BaseDetailAsset>) | Fills in the given |
HasCategory(string) | Tells whether or not a CategoryAsset instance with the
given |
HasCategory(CategoryAsset) | Tells whether or not the given |
OnAfterItemDeserialize() | Called at the end of OnAfterDeserialize, it enabled inheritance to add specific deserialization process. |