Exemplo n.º 1
0
        private void Awake()
        {
            if (sInstance != null)
            {
                if (sInstance != this)
                {
                    Destroy(gameObject);
                }
                return;
            }
            sInstance = this;

            //StartCoroutine(http.CheckQueue());
        }
Exemplo n.º 2
0
 private void OnApplicationQuit()
 {
     sInstance = null;
 }