Пример #1
0
 public override void UIRootOnGUI()
 {
     base.UIRootOnGUI();
     if (Find.World != null)
     {
         Find.World.UI.WorldInterfaceOnGUI();
     }
     this.DoMainMenu();
     if (Current.Game != null)
     {
         Find.Tutor.TutorOnGUI();
     }
     Profiler.BeginSample("ReorderableWidgetOnGUI_BeforeWindowStack()");
     ReorderableWidget.ReorderableWidgetOnGUI_BeforeWindowStack();
     Profiler.EndSample();
     Profiler.BeginSample("WindowStackOnGUI()");
     this.windows.WindowStackOnGUI();
     Profiler.EndSample();
     Profiler.BeginSample("ReorderableWidgetOnGUI_AfterWindowStack()");
     ReorderableWidget.ReorderableWidgetOnGUI_AfterWindowStack();
     Profiler.EndSample();
     Profiler.BeginSample("WidgetsOnGUI()");
     Widgets.WidgetsOnGUI();
     Profiler.EndSample();
     if (Find.World != null)
     {
         Find.World.UI.HandleLowPriorityInput();
     }
 }
Пример #2
0
 public override void UIRootOnGUI()
 {
     base.UIRootOnGUI();
     if (Find.World != null)
     {
         Find.World.UI.WorldInterfaceOnGUI();
     }
     DoMainMenu();
     if (Current.Game != null)
     {
         Find.Tutor.TutorOnGUI();
     }
     ReorderableWidget.ReorderableWidgetOnGUI_BeforeWindowStack();
     windows.WindowStackOnGUI();
     ReorderableWidget.ReorderableWidgetOnGUI_AfterWindowStack();
     Widgets.WidgetsOnGUI();
     if (Find.World != null)
     {
         Find.World.UI.HandleLowPriorityInput();
     }
 }