Version: 2017.2

Tilemap.GetColliderType

Switch to Manual
public Tilemaps.Tile.ColliderType GetColliderType (Vector3Int position);

Parameters

position Position of the Tile on the Tilemap.

Returns

ColliderType Collider type of the tile at the XY coordinate.

Description

Gets the collider type of a tile given the XYZ coordinates of a cell in the tile map.