Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Tilemap component reference

Explore the properties you can use to configure a tilemap.
Read time 2 minutesLast updated 10 days ago

Explore the properties you can use to customize the area you paint tiles onto. For more information, refer to Paint tiles into the scene.

Property

Description

Animation Frame RateSets the rate at which tile animations play, as a multiple of the base frame rate. For example, if the value is 2, tile animations play at double the base frame rate.
ColorTints sprites with the selected color. Set the color to white to render without a tint.
Tile AnchorSets the position of the tiles relative to the bottom-left of the tilemap cell. The default is (0.5, 0.5, 0), which is the center of the cell.
OrientationSets the plane the tiles align with. The options are:
  • XY: Aligns tiles with the XY plane. This usually means tiles face the camera. This is the default.
  • XZ: Aligns tiles with the XZ plane. This usually means tiles lie flat in 3D space.
  • YX: Aligns tiles with the YX plane. This usually means tiles face the camera but rotate 90°.
  • YZ: Aligns tiles with the YZ plane. This usually means tiles face right.
  • ZX: Aligns tiles with the ZX plane. This usually means tiles lie flat in 3D space but rotate 90°.
  • ZY: Aligns tiles with the ZY plane. This usually means tiles face left.
  • Custom: Sets a custom plane with the Offset, Rotation, and Scale properties.
OffsetSets the relative position of the tilemap. This property is available only if you set Orientation to Custom.
RotationSets the rotation of the tilemap. This property is available only if you set Orientation to Custom.
ScaleSets the scale of the tilemap. This property is available only if you set Orientation to Custom.
InfoLists the tiles and sprites the tilemap contains. Select a tile or sprite to highlight it in the Project window.

Additional resources