TopDown Engine  v4.2
MoreMountains.InventoryEngine.ChangeLevel Class Reference

Demo class to go from one level to another More...

Inheritance diagram for MoreMountains.InventoryEngine.ChangeLevel:

Public Member Functions

virtual void OnTriggerEnter2D (Collider2D collider)
 When a character enters the ChangeLevel zone, we trigger a general save and then load the destination scene More...
 

Public Attributes

string Destination
 The exact name of the scene to go to when entering the ChangeLevel zone. More...
 

Detailed Description

Demo class to go from one level to another

Member Function Documentation

◆ 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
colliderCollider.

Member Data Documentation

◆ 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: