示例#1
0
 private bool onLoadingTimeout(LoadingController.TimeoutEvent evt)
 {
     logger.Print("ERROR: Loading new scene timed out after " + evt.ElapsedTime + " seconds.");
     onFinish(-1);
     Service.Get <LoadingController>().ClearAllLoadingSystems();
     return(true);
 }
示例#2
0
 private bool onLoadingScreenTimeout(LoadingController.TimeoutEvent evt)
 {
     Service.Get <ICPSwrveService>().Error("error_prompt", "TimeoutEvent", SceneManager.GetActiveScene().name);
     Log.LogErrorFormatted(this, "Transition Error: Timeout {0}, {1}", gameStateController.CurrentState(), evt.ElapsedTime);
     promptManager.ShowPrompt("UnknownErrorPrompt", null);
     gameStateController.ExitWorld();
     return(false);
 }