protected virtual void OnRenderUI(GuiRenderer renderer)
        {
            if (RenderUI != null)
            {
                RenderUI(this, renderer);
            }

            if (Map.Instance != null)
            {
                Map.Instance.DoRenderUI(renderer);
            }

            if (controlManager != null)
            {
                controlManager.DoRenderUI(guiRenderer);
            }
        }
Beispiel #2
0
        protected override void OnRenderScreenUI(GuiRenderer renderer)
        {
            base.OnRenderScreenUI(renderer);

            if (Map.Instance != null)
            {
                Map.Instance.DoDebugRenderUI(renderer);
            }

            DoFullscreenFading(renderer);

            controlManager.DoRenderUI(renderer);

            if (EngineConsole.Instance != null)
            {
                EngineConsole.Instance.DoRenderUI(renderer);
            }
        }