Tile.ColliderType
Enum for determining what collider shape is generated for this Tile by the TilemapCollider2D.
읽는 시간 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. |