Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using System.Collections;
- public class GameController : MonoBehaviour {
- public static GameController instance;
- public Color primaryColor;
- private long minimumMemory = 0;
- private long maximumMemory = 0;
- void Awake() {
- if (instance == null) {
- instance = this;
- DontDestroyOnLoad (gameObject);
- } else {
- DestroyImmediate (gameObject);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement