Beispiel #1
0
        private IEnumerator StartApp()
        {
            var pView = UIMgr.GetView("UIUpdate") as NBsn.NMVVM.UpdateV;

            pView.Show();

            var pUpdateRes = new NBsn.NUpdateRes.C_UpdateRes();

            yield return(Coroutine.Start(pUpdateRes.Run()));

#if UNITY_EDITOR
            if (pUpdateRes.IsSuccess())
            {
                yield break;
            }
#endif
            UIMgr.InitAfterUpdateRes();
            ResMgr.InitAfterUpdateRes();
            ABMgr.InitAfterUpdateRes();

            Lua.DoString("require('main')");
        }