MyDungeon Documentation
MovingOverworldObject Class |
Base class for entities that move in the overworld
Inheritance Hierarchy
SystemObject Object
Component
Behaviour
MonoBehaviour
MyDungeon.EntitiesMovingOverworldObject
MyDungeon.EntitiesPlayerOverworld
Component
Behaviour
MonoBehaviour
MyDungeon.EntitiesMovingOverworldObject
MyDungeon.EntitiesPlayerOverworld
Namespace: MyDungeon.Entities
Assembly: Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class MovingOverworldObject : MonoBehaviour
The MovingOverworldObject type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MovingOverworldObject | Initializes a new instance of the MovingOverworldObject class |
Methods
Name | Description | |
---|---|---|
CheckHit |
Checks if entity is blocked by an object on the blocking layer in a desired direction
| |
Start |
Initializes the entity's BoxCollider2D
|
Fields
Name | Description | |
---|---|---|
BlockingLayer |
Layer used in collision checks to block movement
| |
BoxCollider |
Extension Methods
Name | Description | |
---|---|---|
Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |
See Also