Corgi Engine  v9.1
MoreMountains.CorgiEngine.LevelRestarter Class Reference

Add this class to a trigger to cause the level to restart when the player hits the trigger More...

Inheritance diagram for MoreMountains.CorgiEngine.LevelRestarter:
MoreMountains.CorgiEngine.CorgiMonoBehaviour

Protected Member Functions

virtual void OnTriggerEnter2D (Collider2D collider)
 When a character enters the zone, restarts the level More...
 

Detailed Description

Add this class to a trigger to cause the level to restart when the player hits the trigger

Member Function Documentation

◆ OnTriggerEnter2D()

virtual void MoreMountains.CorgiEngine.LevelRestarter.OnTriggerEnter2D ( Collider2D  collider)
protectedvirtual

When a character enters the zone, restarts the level

Parameters
colliderCollider.

The documentation for this class was generated from the following file: