Add this component to an object in your scene to have it act like a chest. You'll need a key operated zone to open it, and item picker(s) on it to fill its contents.
More...
|
| virtual void | OpenChest () |
| | A public method to open the chest, usually called by the associated key operated zone.
|
|
| virtual void | Start () |
| | On start we grab our animator and list of item pickers.
|
| virtual void | TriggerOpeningAnimation () |
| | Triggers the opening animation.
|
| virtual void | PickChestContents () |
| | Puts all the items in the associated pickers into the player's inventories.
|
Add this component to an object in your scene to have it act like a chest. You'll need a key operated zone to open it, and item picker(s) on it to fill its contents.
◆ OpenChest()
| virtual void MoreMountains.TopDownEngine.InventoryEngineChest.OpenChest |
( |
| ) |
|
|
virtual |
A public method to open the chest, usually called by the associated key operated zone.
◆ PickChestContents()
| virtual void MoreMountains.TopDownEngine.InventoryEngineChest.PickChestContents |
( |
| ) |
|
|
protectedvirtual |
Puts all the items in the associated pickers into the player's inventories.
◆ Start()
| virtual void MoreMountains.TopDownEngine.InventoryEngineChest.Start |
( |
| ) |
|
|
protectedvirtual |
On start we grab our animator and list of item pickers.
◆ TriggerOpeningAnimation()
| virtual void MoreMountains.TopDownEngine.InventoryEngineChest.TriggerOpeningAnimation |
( |
| ) |
|
|
protectedvirtual |
Triggers the opening animation.
◆ _animator
| Animator MoreMountains.TopDownEngine.InventoryEngineChest._animator |
|
protected |
◆ _itemPickerList
| ItemPicker [] MoreMountains.TopDownEngine.InventoryEngineChest._itemPickerList |
|
protected |
The documentation for this class was generated from the following file: