- Home /
While in Editor, is there a way to know when a Tile is placed?
Hello,
while editing a scene, is there a way to know when a new Tile is added to a Scene? For example, I have a Tilemap on the scene, and when I paint a new Tile on it, I want my code to do something, for example, increase a counter.
I have found an Event that sounds it would be perfect, called "tilemapTileChanged", however, it's static and for the life of me, I can't find any example of usage.
I guess I can follow each Tile for when it's created, but that needs modification of every Tile - and what if or when I have hundreds of them?
Comment