Scripting API

TilemapCollider2D

class in UnityEngine.Tilemaps · UnityEngine.TilemapModule · inherits from Collider2D

6 of 6 of Unity's membersUnity's documentation
In Tassix

Makes its Tilemap's cells solid: each cell whose collider type is Grid gets its cell's square, Sprite its sprite's rectangle (placed as it's drawn). Rebuilt when the tilemap changes, before the next physics step.

Properties 5

float extrusionFactor { get; set; }
bool hasTilemapChanges { get; }
uint maximumTileChangeCount { get; set; }
int shapeCount { get; }
bool useDelaunayMesh { get; set; }

Methods 1

void ProcessTilemapChanges()

Rebuilds the shapes now if the tilemap changed.

Checked against Unity

Conformance scenarios that exercise it, recorded in Unity and compared event by event.