Closed
Description
How can I intercept the end of the map loading without completions or delegate if my code follow your home instructions? How can I use callbacks?
// Load TileMap
guard let tilemap = SKTilemap.load(fromFile: currentTMXfilename) else {
fatalError("Failed to load tilemap.")
}
after this line if I try to get a SKLayer, is always nil (I suppose because the map don't finish to load all components..) ..
Thank you in advance.