I have a TileSet defined in a file called CountTiles.sks. In that I have a tile group rule that has several variants. In my GameScene.swift file I want to fill a tileMapNode will specific variants, so I thought I'd use the setTileGroup method that includes a definition, but to call it, I need to already have that definition stored in a variable. Is there any way to get the tileDefinition using its name? The only way I can seem to get it is by painting it into a specific tile and getting it from that tile during setup. This is undesirable.
Is there any way to access a tileDefinition that has been set in a .sks file without having a specific instance of that tileDefinition?