Class CategoryAsset
CategoryAsset instance are used as filter arguments when querying CatalogItemAsset instances within their catalog. Each catalog is responsible for containing and managing its own set of CategoryAsset instance.
Inherited Members
Namespace: UnityEngine.GameFoundation.CatalogManagement
Assembly: solution.dll
Syntax
public sealed class CategoryAsset : ScriptableObject
Properties
Name | Description |
---|---|
catalog | Reference to the catalog containing this CategoryAsset instance. |
displayName | The readable name of this CategoryAsset 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 identifier of this CategoryAsset. |
Methods
Name | Description |
---|---|
Equals(object) | If id and displayName match then the CategoryAsset are deemed equal. |
GetHashCode() | Serves as the default hash function. |
Operators
Name | Description |
---|---|
operator ==(CategoryAsset, CategoryAsset) | == Overload. If id and displayName match then the CategoryAsset are deemed equal. Note: Two null objects are considered equal. |
operator !=(CategoryAsset, CategoryAsset) | != Overload. If id and displayName don't match the CategoryAsset are deemed not equal. Note: Two null objects are considered equal. |