Hello,
I have problem to get TileInfo from tiles with code:
int xToText = 10;
int yToTest = 5;
int tiledID = ownTileMap.GetTile(xToTest, yToTest, 0);
TileInfo info = ownTileMap.GetTileInfoForTileId(tiledID);
tiledID comes normal (Ranges 0-20 as I got 20 different tiles)
BUT
info.intval is always 0 (any xToText and yToText values)
and
info.stringval is always emty string. (any xToText and yToText values)
I would like to get "string name" (like "Wall7") for tile that I have set on editor (Get info.png)
What I do wrong?