// Use this for initialization void Awake() { if (instance == null) { instance = this; } else { Debug.LogError ("More then one instance of TwitterAPI: " + this.transform.name); } }
public void ResetInstance() { instance = null; }