title: Unity MonoBehaviour Singleton
body: <p>Normally you can create a Singleton like so: </p>
  
  <pre><code>public class Single
  {
      public static Single _instance;
  
      public static Single GetInstance(){...}
  }
  </code></pre>
  
  <p>The problem is how do you create this when you generalize the MonoBehaviour class in Unity?</p>
  
  <pre><code>public class Single : MonoBehaviour
  {
  }
  </code></pre>
  
  <p>Regular code above won't work.</p>
  
  <p>edit: Yes problem was that I can't call new on MonoBehaviour.</p>