In the newly added Tilemap system, the TileBase
and Tile
have no tag
attribute and it is then not possible to identify them by anything else than their name
attribute which is not very practical. It is however said in the documentation of TileBase
:
Inherit from this to implement your custom tile to be placed in a Tilemap component.
I guess it can be used to create our own tile system but then I can't find a way to use this new class in the tilemap instead of the basic Tile
class. How can I use this inheritance to create my own Tiles ?