Пример #1
0
 protected virtual void OnSavingGame(SaveEventArgs e)
 {
     SavingGame?.Invoke(this, e);
 }
Пример #2
0
 public void SaveGame(SaveEventArgs e)
 {
     OnSavingGame(e);
     GetComponent <SaveLoadFile>().SaveBinary(e.GameData.ToArray(),
                                              GameFile);
 }
Пример #3
0
 protected virtual void OnSavingDungeon(SaveEventArgs e)
 {
     SavingDungeon?.Invoke(this, e);
 }
Пример #4
0
 public void SaveDungeonLevel(SaveEventArgs e)
 {
     OnSavingDungeon(e);
     GetComponent <SaveLoadFile>().SaveBinary(e.GameData.ToArray(),
                                              DungeonFile);
 }