public void loadingLevel() { int height = SimpleLevel.TextureFile.height; int width = SimpleLevel.TextureFile.width; for (int x = 0; x < width; x++) { for (int y = 0; y < height; y++) { Color32 color = SimpleLevel.getPixelColor(x, y); createTile(color, new Vector3(x, 0, y)); } } }