Exemple #1
0
        // PAINT METHODS: -------------------------------------------------------------------------

        private void PaintSidebar()
        {
            EditorGUILayout.BeginVertical(GUILayout.MaxWidth(WINDOW_SIDE_WIDTH));
            ModuleManagerSidebar.PaintHeader();
            ModuleManagerSidebar.PaintSidebarProjects();
            EditorGUILayout.EndVertical();
        }
        // PAINT METHODS: -------------------------------------------------------------------------

        private void PaintSidebar()
        {
            EditorGUILayout.BeginVertical(GUILayout.MaxWidth(WINDOW_SIDE_WIDTH));
            ModuleManagerSidebar.PaintHeader();
            this.toolbarOptionsIndex = GUILayout.Toolbar(this.toolbarOptionsIndex, OPTIONS);

            EditorGUILayout.Space();
            switch (this.toolbarOptionsIndex)
            {
            case 0: ModuleManagerSidebar.PaintSidebarProjects(); break;

            case 1: ModuleManagerSidebar.PaintSidebarStore(); break;
            }

            EditorGUILayout.EndHorizontal();
        }