TilemapChangeReason
Options for the reasons why a Tilemap itself has changed.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Enum
- Namespace: UnityEngine.Tilemaps
- Assembly: UnityEngine.TilemapModule
[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 |
|---|---|
| Dimensions | The origin or size of the Tilemap changed. |
| EditorPreview | The change was made to the editor preview of the rather than to the Tilemap itself. |
| Everything | All map-wide changes. |
| Geometry | The geometry of the Tilemap changed, including changes to its Grid. |
| Property | A property of the Tilemap, such as its tile anchor, orientation or color, changed. |