Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


TilemapChangeReason

Options for the reasons why a Tilemap itself has changed.
Read time 1 minuteLast updated 7 days ago

Definition

[Flags]public enum TilemapChangeReason

Remarks

These reasons affect every cell, and are reported by Tilemap.tilemapChanged. For changes to individual tiles, see TileChangeReason. A batch of changes is reported with the reasons of every change in it combined.

Fields

Value

Description

DimensionsThe origin or size of the Tilemap changed.
EditorPreviewThe change was made to the editor preview of the rather than to the Tilemap itself.
EverythingAll map-wide changes.
GeometryThe geometry of the Tilemap changed, including changes to its Grid.
PropertyA property of the Tilemap, such as its tile anchor, orientation or color, changed.