This class shows examples of how you can listen to MMInventoryEvents, from any class.
More...
Inherits MonoBehaviour, and MoreMountains.Tools.MMEventListener< T >.
|
| virtual void | OnEnable () |
| | On enable we start listening for MMInventoryEvents.
|
| virtual void | OnDisable () |
| | On disable we stop listening for MMInventoryEvents.
|
This class shows examples of how you can listen to MMInventoryEvents, from any class.
◆ OnDisable()
| virtual void MoreMountains.InventoryEngine.EventTester.OnDisable |
( |
| ) |
|
|
protectedvirtual |
On disable we stop listening for MMInventoryEvents.
◆ OnEnable()
| virtual void MoreMountains.InventoryEngine.EventTester.OnEnable |
( |
| ) |
|
|
protectedvirtual |
On enable we start listening for MMInventoryEvents.
◆ OnMMEvent()
| virtual void MoreMountains.InventoryEngine.EventTester.OnMMEvent |
( |
MMInventoryEvent | inventoryEvent | ) |
|
|
virtual |
When we catch a MMInventoryEvent, we filter on its type and display info about the item used.
- Parameters
-
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/InventoryEngine/InventoryEngine/Scripts/Tests/EventTester.cs