Esempio n. 1
0
 private void SaveButton_Click(object sender, RoutedEventArgs e)
 {
     if (saveFile != null)
     {
         saveFile.Save(null);
     }
 }
    public void Save()
    {
        SavegameSaving = true;
        SavegameSaved  = false;
        Thread t = new Thread(() =>
        {
            CurrentSavegame.Save(null);
            SavegameSaved = true;
        });

        t.Start();
        StartCoroutine(DoSave());
    }
Esempio n. 3
0
 private void SaveButton_Click(object?sender, RoutedEventArgs e)
 {
     SaveFile?.Save(null);
 }