예제 #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);
 }