Struct TileData
A structure that describes data per tile instance in a tilemap.
Namespace: Unity.Tiny.Tilemap2D
Syntax
public struct TileData
Fields
position
Tile position.
Declaration
public float2 position
Field Value
| Type | Description |
|---|---|
| float2 |
tile
The tile to display. Must point to an entity with the Tile component on it.
Declaration
public Entity tile
Field Value
| Type | Description |
|---|---|
| Entity |