public void ExportTile(TilePath tile, string name) { heightmapGS = tile.LoadHeightGS(); heightmapRGB = tile.LoadHeightRGB(); texture = tile.LoadTexture(); ExportTile(heightmapGS, heightmapRGB, texture, name); }
private void LoadTile(TilePath tile) { if (tile.IsValid()) { terrainLoader.heightmap = tile.LoadHeightRGB(); terrainLoader.texture = tile.LoadTexture(); terrainLoader.rgbMap = true; terrainLoader.Init(); } else { Debug.Log("Unable to load tile"); Debug.Log(tile.heightGS); Debug.Log(tile.heightRGB); Debug.Log(tile.texture); } }