예제 #1
0
// ReSharper disable UnusedMember.Local
        void OnGUI()
        {
// ReSharper restore UnusedMember.Local

            DialogContentWrapper.Start();

            /**
             * 1. Panel start
             * */
            //_panelRenderer.RenderStart(GuiContentCache.Instance.CreateEventHandler, true);
            _panelRenderer.RenderStart(new GUIContent(_titles[_step], TextureCache.Instance.EventHandlerAddMapping), true);

            ShowHelp = _panelRenderer.ClickedTools.Contains("help");

            //GUILayout.Space(3);

            /**
             * 1a. Render breadcrumbs
             * */
            GUI.enabled = false;
            _breadcrumbs.Render();
            GUI.enabled = true;

            GUILayout.Space(6);

            /**
             * 2. Render current step
             * */
            _renderers[_step].Render();

            /**
             * 3. Render buttons
             * */
            RenderButtons();

            GUILayout.Space(3);

            /**
             * 4. Panel end
             * */
            _panelRenderer.RenderEnd();

            DialogContentWrapper.End();

            if (Event.current.type == EventType.MouseMove)
            {
                Repaint();
            }
        }
예제 #2
0
        // Token: 0x06002C05 RID: 11269 RVA: 0x000F5BBC File Offset: 0x000F3DBC
        protected void RenderBreadcrumbs()
        {
            Breadcrumbs breadcrumbs = new Breadcrumbs(base.UserContext, base.NavigationModule);

            breadcrumbs.Render(base.Response.Output);
        }