Tile.ColliderType
Enum for determining what collider shape is generated for this Tile by the TilemapCollider2D.
阅读时间1 分钟最后更新于 1 个月前
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. |