A component to add on level maps path points
More...
|
virtual void | Start () |
| Initialization More...
|
|
virtual void | OnDrawGizmos () |
| On scene view, draws a line between a path element and the other path elements it's connected to if the connection goes both ways (you can go from A to B and from B to A using opposite directions) the line will be blue, otherwise it'll be red (useful to make sure you've connected all dots the way you wanted to More...
|
|
A component to add on level maps path points
◆ CanGoDown()
virtual bool MoreMountains.CorgiEngine.LevelMapPathElement.CanGoDown |
( |
| ) |
|
|
virtual |
Determines whether this instance can go down.
- Returns
true
if this instance can go down; otherwise, false
.
◆ CanGoLeft()
virtual bool MoreMountains.CorgiEngine.LevelMapPathElement.CanGoLeft |
( |
| ) |
|
|
virtual |
Determines whether this instance can go left.
- Returns
true
if this instance can go left; otherwise, false
.
◆ CanGoRight()
virtual bool MoreMountains.CorgiEngine.LevelMapPathElement.CanGoRight |
( |
| ) |
|
|
virtual |
Determines whether this instance can go right.
- Returns
true
if this instance can go right; otherwise, false
.
◆ CanGoUp()
virtual bool MoreMountains.CorgiEngine.LevelMapPathElement.CanGoUp |
( |
| ) |
|
|
virtual |
Determines whether this instance can go up.
- Returns
true
if this instance can go up; otherwise, false
.
◆ OnDrawGizmos()
virtual void MoreMountains.CorgiEngine.LevelMapPathElement.OnDrawGizmos |
( |
| ) |
|
|
protectedvirtual |
On scene view, draws a line between a path element and the other path elements it's connected to if the connection goes both ways (you can go from A to B and from B to A using opposite directions) the line will be blue, otherwise it'll be red (useful to make sure you've connected all dots the way you wanted to
◆ OnTriggerEnter2D()
virtual void MoreMountains.CorgiEngine.LevelMapPathElement.OnTriggerEnter2D |
( |
Collider2D |
collider | ) |
|
|
virtual |
Triggered when a character enters our path element
- Parameters
-
◆ OnTriggerExit2D()
virtual void MoreMountains.CorgiEngine.LevelMapPathElement.OnTriggerExit2D |
( |
Collider2D |
collider | ) |
|
|
virtual |
Triggered when a character exits our path element
- Parameters
-
◆ OnTriggerStay2D()
virtual void MoreMountains.CorgiEngine.LevelMapPathElement.OnTriggerStay2D |
( |
Collider2D |
collider | ) |
|
|
virtual |
Triggered when a character enters our path element
- Parameters
-
◆ Start()
virtual void MoreMountains.CorgiEngine.LevelMapPathElement.Start |
( |
| ) |
|
|
protectedvirtual |
◆ AutomaticMovement
bool MoreMountains.CorgiEngine.LevelMapPathElement.AutomaticMovement =false |
should the character automatically move to the next point when reaching this one
◆ Down
the path element the character should go to when going down
◆ Left
the path element the character should go to when going left
◆ Right
the path element the character should go to when going right
◆ Up
the path element the character should go to when going up
The documentation for this class was generated from the following file: