public void InitApp() { // Debug.Print("mgr线程" + System.Threading.Thread.CurrentThread.ManagedThreadId.ToString()); PlayerPrefs.Init(); NetWorkManager.Instance.Start(); Thread th = new Thread(new ThreadStart(checkNetMsg)); th.Start(); Login.LoginMgr.Instance.Init(); m_SyncContext = SynchronizationContext.Current; FaceMgr.Instance.Init(); }