Assets/Scripts/Management/Serialization/SaveManager.cs
/// <summary>
/// Overwrites save file with given save blob
/// </summary>
/// <param name="blob"> blob object to serialize on save file </param>
Overwrites save file with given save blob
Overwrites save file with given save blob
public void DoWriteFile(SaveBlobV2 blob)
        {
            FileStream fileStream = File.Create(savepath);
            BinaryFormatter binaryFormatter = new BinaryFormatter();
            binaryFormatter.Serialize(fileStream, blob);
            fileStream.Close();
        }
public void DoWriteFile ( SaveBlobV2 blob ) { FileStream fileStream = File . Create ( savepath ) ; BinaryFormatter binaryFormatter = new BinaryFormatter ( ) ; binaryFormatter . Serialize ( fileStream , blob ) ; fileStream . Close ( ) ; }
Overwrites save file with given save blob
Overwrites save file with given save blob
blob
SaveBlobV2
blob object to serialize on save file
blob object to serialize on save file