Skip to content

Instantly share code, notes, and snippets.

@ZeredaGames
Last active March 1, 2019 15:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ZeredaGames/a98b725f3c0431644f0b270177b7cdac to your computer and use it in GitHub Desktop.
Save ZeredaGames/a98b725f3c0431644f0b270177b7cdac to your computer and use it in GitHub Desktop.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class #SCRIPTNAME# : MonoBehaviour {
public static #SCRIPTNAME# instance = null;
public #SCRIPTNAME# GetInstance (){
instance = this;
return instance;
}
public #SCRIPTNAME#(){
instance = GetInstance();
}
public class #SCRIPTNAME#Helper : #SCRIPTNAME#{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment