Item Class

Summary

An item that can be purchased from a shop.

This class could contain any kind of functionality, but for the purpose of this simple example it just holds the meta-data.
Assembly
Weaver.dll
Namespace
Weaver.Examples
Interfaces
Base Types
  • MonoBehaviour
graph BT Type-->Base0["MonoBehaviour"] Type-.->Interface0["IMetaDataProvider<ItemMetaData>"] Type["Item"] class Type type-node

Syntax

public sealed class Item : MonoBehaviour, IMetaDataProvider<ItemMetaData>

Properties

Name Value Summary
MetaData ItemMetaData
This item's details.