Skip to content

Instantly share code, notes, and snippets.

View moon-goon's full-sized avatar
🎯
Focusing

moongoon moon-goon

🎯
Focusing
  • Canada
View GitHub Profile
using UnityEngine;
using System.Collections;
using UnityEngine.SceneManagement;
public class LevelLoadManager : MonoBehaviour {
public GameObject player;
public GameObject trigger;
public Texture2D fadeOutTexture; // the texture that will overlay the screen. This can be a black image or a loading graphic
public float fadeSpeed = 0.2f; // the fading speed
using UnityEngine;
using System.Collections;
[System.Serializable]
public class Game {
public static Game current;
public Character warrior;
public Game () {
using UnityEngine;
using System.Collections;
[System.Serializable]
public class Character {
public string name;
public Character () {
this.name = "";
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization.Formatters.Binary;
using System.IO;
public static class SaveLoad {
public static List<Game> savedGames = new List<Game>();