Skip to content

Instantly share code, notes, and snippets.

View ssshake's full-sized avatar

Richard Bettridge ssshake

View GitHub Profile
const express = require('express');
const bodyParser = require('body-parser');
const cors = require('cors');
const logger = require('morgan');
const multipart = require('connect-multiparty');
const fs = require('fs');
const shortid = require('shortid');
let app = express();
/**
* Transcribed from Persistence - Saving and Loading Data Tutorial video.
* Original code by Mike Geig.
* Transcribed by rocky1138.
* No idea on what the license is. I think it's fairly safe to assume public domain
* since it's part of a tutorial video.
* https://unity3d.com/learn/tutorials/topics/scripting/persistence-saving-and-loading-data
*/
using UnityEngine;
using System.Collections;