Inventory Class
From MyDungeon
MyDungeon Documentation
Inventory Class |
Inventory holds a list of items the player currently possesses
Namespace: MyDungeon.Items
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
C#
public class Inventory : MonoBehaviour
The Inventory type exposes the following members.
| 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
|
| Name | Description | |
|---|---|---|
| InventoryItems |
List of items in inventory
|
| Name | Description | |
|---|---|---|
| Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |