Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
public class GlobalSomething : MonoBehavior {
public static GlobalSomething Singleton;
public void Awake() {
Singleton = this;
}