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 More...
|
|
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.CorgiEngine.InventoryEngineChest.OpenChest |
( |
| ) |
|
|
virtual |
A public method to open the chest, usually called by the associated key operated zone
◆ PickChestContents()
virtual void MoreMountains.CorgiEngine.InventoryEngineChest.PickChestContents |
( |
| ) |
|
|
protectedvirtual |
Puts all the items in the associated pickers into the player's inventories
◆ Start()
virtual void MoreMountains.CorgiEngine.InventoryEngineChest.Start |
( |
| ) |
|
|
protectedvirtual |
On start we grab our animator and list of item pickers
◆ TriggerOpeningAnimation()
virtual void MoreMountains.CorgiEngine.InventoryEngineChest.TriggerOpeningAnimation |
( |
| ) |
|
|
protectedvirtual |
Triggers the opening animation.
◆ _animator
Animator MoreMountains.CorgiEngine.InventoryEngineChest._animator |
|
protected |
◆ _itemPickerList
ItemPicker [] MoreMountains.CorgiEngine.InventoryEngineChest._itemPickerList |
|
protected |
The documentation for this class was generated from the following file: