Exemplo n.º 1
0
 //load the selected level
 void LoadSelectedLevel()
 {
     if (canLoad)
     {
         mapgrid.CreateMapFromFile(loadManager.LoadList <MapTileSave>(uiDropdown.options[uiDropdown.value].text), loadManager.Load <Coord>(uiDropdown.options[uiDropdown.value].text));
         mainMenu.SetGameUI();
     }
 }