public override void UIRootUpdate() { base.UIRootUpdate(); try { Profiler.BeginSample("WorldInterfaceUpdate()"); Find.World.UI.WorldInterfaceUpdate(); Profiler.EndSample(); Profiler.BeginSample("MapInterfaceUpdate()"); this.mapUI.MapInterfaceUpdate(); Profiler.EndSample(); Profiler.BeginSample("AlertsReadoutUpdate()"); this.alerts.AlertsReadoutUpdate(); Profiler.EndSample(); Profiler.BeginSample("LessonAutoActivatorUpdate()"); LessonAutoActivator.LessonAutoActivatorUpdate(); Profiler.EndSample(); Profiler.BeginSample("TutorialUpdate()"); Find.Tutor.TutorUpdate(); Profiler.EndSample(); } catch (Exception ex) { Log.Error("Exception in UIRootUpdate: " + ex.ToString(), false); } }
public override void UIRootUpdate() { base.UIRootUpdate(); try { Find.World.UI.WorldInterfaceUpdate(); this.mapUI.MapInterfaceUpdate(); this.alerts.AlertsReadoutUpdate(); LessonAutoActivator.LessonAutoActivatorUpdate(); Find.Tutor.TutorUpdate(); } catch (Exception ex) { Log.Error("Exception in UIRootUpdate: " + ex.ToString()); } }