Skip to content

Instantly share code, notes, and snippets.

View 143mailliw's full-sized avatar

William Whittaker 143mailliw

View GitHub Profile
@143mailliw
143mailliw / SaveSystem.cs
Created August 26, 2017 16:09 — forked from DeclanHoare/SaveSystem.cs
Holey Moley Code Dupe
// Define BINARY_SAVE before release so the player has
// to put some effort into cheating ;)
// During development, leave it undefined to use the
// easily modifiable JSON serialised format
//#define BINARY_SAVE
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;