Skip to main content

CellDataRule

This class is used to link your created CellData to any Unity tiles you wish.

Please refer to the tutorial if you wish to learn how to link CellData with Unity tiles.

note

This class stores an array of TilePreview. Please note, TilePreview just holds a reference to a Unity Tile. The design intention was to provide a custom PropertyDrawer in order to show a preview of Tile in the CellDataRule. TilePreview only exists to not interfere with Unity's Tile class by avoiding to override their provided PropertyDrawer.

Properties

Public

Name
Type
Description
tilesTilePreview[]The Unity tiles you wish to link to cellData
cellDataCellDataThe CellData instance you wish to link