public bool IsChipPassableAt(TileLayer layer, IntVector2 loc) { TiledMap tiledMap = GetComponent <TiledMap>(); TiledProperty property = tiledMap.GetPropertyForTile("x", layer, loc.x, loc.y); return((property == null) ? true : (property.GetStringValue() == "false")); }