Skip to content

TilemapLayer.HasCollision Property

Definition

Namespace: Brine2D.Tilemap

When true, solid tiles on this layer contribute collision rects. Both this and IsSolid must be set for a rect to be generated.

C#
public bool HasCollision { get; set; }

Property Value

System.Boolean