Beispiel #1
0
        private void Awake()
        {
            if (sInstance != null)
            {
                if (sInstance != this)
                {
                    Destroy(gameObject);
                }
                return;
            }
            sInstance = this;

            //StartCoroutine(http.CheckQueue());
        }
Beispiel #2
0
 private void OnApplicationQuit()
 {
     sInstance = null;
 }