MapCollider
Class in Nostalgia / Inherits from: UnityEngine.MonoBehaviour
Description
Class for Collider to combine.
Fields
| Field Name | Description |
|---|---|
| dirty | The dirty. |
Properties
| Property Name | Description |
|---|---|
| hasCells | Whether this chunk has cells |
| map | Map to which they belong. |
| polygonCollider | PolygonCollider 2D as a result of combining. |
| position | The position. |
| tile | Types of tiles to combine |
Static Fields
| Field Name | Description |
|---|---|
| colliderWidth | Number of cells on each side |
Static Methods
| Method Name | Description |
|---|---|
| CellPosColliderPos | Converts the position of Cell to the position of MapCollider. |
| CellToColliderPos | Converts the Cell to the position of MapCollider. |