// Vytvoří složku pro uložení nové hry a vytvoří v ní nutné soubory public void CreateNewSave(string path) { string fullPath = Path.Combine(Application.persistentDataPath, SAVES_FOLDER, path); LoadManager.CreateFolder(Path.Combine(Application.persistentDataPath, SAVES_FOLDER), path); LoadManager.SaveFile(Path.Combine(fullPath, GAME_FILE), new SaveableGameState(1, true)); LoadManager.SaveFile(Path.Combine(fullPath, PLAYER_INVENTORY), new SaveableInventory(10)); LoadManager.SaveFile(Path.Combine(fullPath, SHOP_INVENTORY), new SaveableInventory(Resources.Load <NewGameInventorySO>(Path.Combine("NewGame", "ShopkeeperInventory")).itemIDs)); }