MovingOverworldObject Class
From MyDungeon
MyDungeon Documentation
MovingOverworldObject Class |
Base class for entities that move in the overworld
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
C#
public class MovingOverworldObject : MonoBehaviour
The MovingOverworldObject type exposes the following members.
| Name | Description | |
|---|---|---|
| MovingOverworldObject | Initializes a new instance of the MovingOverworldObject class |
| 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
|
| Name | Description | |
|---|---|---|
| BlockingLayer |
Layer used in collision checks to block movement
| |
| BoxCollider |
| Name | Description | |
|---|---|---|
| Invoke |
Invoke using a delegate
(Defined by MonoBehaviourExtensions.) |