TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.TopDownEngine.LevelLimits Class Reference

Add this class to a boxcollider to signify the bounds of your level. More...

Inheritance diagram for MoreMountains.TopDownEngine.LevelLimits:
MoreMountains.TopDownEngine.TopDownMonoBehaviour MoreMountains.Tools.MMMonoBehaviour

Public Attributes

float LeftLimit
 left x coordinate
float RightLimit
 right x coordinate
float BottomLimit
 bottom y coordinate
float TopLimit
 top y coordinate

Protected Member Functions

virtual void Awake ()
 On awake, fills the public variables with the level's limits.

Protected Attributes

BoxCollider2D _collider

Detailed Description

Add this class to a boxcollider to signify the bounds of your level.

Member Function Documentation

◆ Awake()

virtual void MoreMountains.TopDownEngine.LevelLimits.Awake ( )
protectedvirtual

On awake, fills the public variables with the level's limits.

Member Data Documentation

◆ _collider

BoxCollider2D MoreMountains.TopDownEngine.LevelLimits._collider
protected

◆ BottomLimit

float MoreMountains.TopDownEngine.LevelLimits.BottomLimit

bottom y coordinate

◆ LeftLimit

float MoreMountains.TopDownEngine.LevelLimits.LeftLimit

left x coordinate

◆ RightLimit

float MoreMountains.TopDownEngine.LevelLimits.RightLimit

right x coordinate

◆ TopLimit

float MoreMountains.TopDownEngine.LevelLimits.TopLimit

top y coordinate


The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/Common/Scripts/Camera/LevelLimits.cs