This class shows examples of how you can listen to MMInventoryEvents, from any class
More...
Inherits MonoBehaviour, and MoreMountains.Tools.MMEventListener< MMInventoryEvent >.
|
virtual void | OnEnable () |
| On enable we start listening for MMInventoryEvents More...
|
|
virtual void | OnDisable () |
| On disable we stop listening for MMInventoryEvents More...
|
|
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:
- F:/Github/Store/InventoryEngineStore/Assets/InventoryEngine/InventoryEngine/InventoryEngine/Scripts/Tests/EventTester.cs