Demo class to go from one level to another.
More...
Inherits MonoBehaviour.
|
| virtual void | OnTriggerEnter2D (Collider2D collider) |
| | When a character enters the ChangeLevel zone, we trigger a general save and then load the destination scene.
|
Demo class to go from one level to another.
◆ OnTriggerEnter2D()
| virtual void MoreMountains.InventoryEngine.ChangeLevel.OnTriggerEnter2D |
( |
Collider2D | collider | ) |
|
|
virtual |
When a character enters the ChangeLevel zone, we trigger a general save and then load the destination scene.
- Parameters
-
◆ Destination
| string MoreMountains.InventoryEngine.ChangeLevel.Destination |
The exact name of the scene to go to when entering the ChangeLevel zone.
The documentation for this class was generated from the following file:
- H:/Code/MoreMountains/InventoryEngineStore/Assets/InventoryEngine/InventoryEngine/Demos/PixelRogue/Scripts/ChangeLevel.cs