MyDungeon Documentation
Inventory Class |
Inventory holds a list of items the player currently possesses
Inheritance Hierarchy
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
Methods
Name | Description | |
---|---|---|
AddItem |
Adds item to inventory
| |
OnDestroy |
Stores inventory in GameManager to retain during scene transitions
| |
RemoveItem |
Removes item from inventory
| |
Start |
Grabs inventory from GameManager
|
Fields
Name | Description | |
---|---|---|
InventoryItems |
List of items in inventory
|
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also