IEnumerator Init() { GameConfig.Init(); GameData.Init(); AsyncOperation async = SceneManager.LoadSceneAsync("Demo1", LoadSceneMode.Single); yield return(async); }
void Awake() { _updateProgressBar = UIComponent.FindObjectComponent <UpdateProgressBar>("UpdateProgressBar"); _updateNoticeDialog = UIComponent.FindObjectComponent <UpdateNoticeDialog>("UpdateNoticeDialog"); _updateNoticeDialog.Close(); _logoDialog = UIComponent.FindObjectComponent <LogoDialog>("LogoDialog"); GameConfig.VFS = true; GameConfig.Init(); GameConfig.InitLogFile(); ExtSDK.Init(); }