Inventory Class

MyDungeon

Inventory Class

Inventory holds a list of items the player currently possesses
Inheritance Hierarchy
SystemObject  Object
    Component
      Behaviour
        MonoBehaviour
          MyDungeon.ItemsInventory

Namespace:  MyDungeon.Items
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class Inventory : MonoBehaviour

The Inventory type exposes the following members.

Constructors
  NameDescription
Public methodInventory
Initializes a new instance of the Inventory class
Top
Methods
  NameDescription
Public methodAddItem
Adds item to inventory
Protected methodOnDestroy
Stores inventory in GameManager to retain during scene transitions
Public methodRemoveItem
Removes item from inventory
Protected methodStart
Grabs inventory from GameManager
Top
Fields
  NameDescription
Public fieldInventoryItems
List of items in inventory
Top
Extension Methods
  NameDescription
Public Extension MethodInvoke
Invoke using a delegate
(Defined by MonoBehaviourExtensions.)
Top
See Also