Tile.ColliderType
Enum for determining what collider shape is generated for this Tile by the TilemapCollider2D.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
public enum Tile.ColliderType
Fields
Value | Description |
|---|---|
| Grid | The grid layout boundary outline is used as the collider shape for the Tile by the TilemapCollider2D. |
| None | No collider shape is generated for the Tile by the TilemapCollider2D. |
| Sprite | The Sprite outline is used as the collider shape for the Tile by the TilemapCollider2D. |