I tried something like that im TileMap script:
foreach (Vector2 item in Obstacles)
{
WorldToMap(item).Set("MouseInteraction", Disable ) <-- I was expecting some kind of property that disable mouse interaction
}
Later I tried:
int ID = GetCell((int)item.y, (int)item.x);
Then:
TileSet.TileGetName(ID)
Then:
TileSet.Set("", false);
We are getting close seems....
So how I can find the property I need to disable mouse interaction?