Example #1
0
        private void DrawTabs()
        {
            var mainRect          = new Rect(0, TopPanelHeightConst, position.width, TopTabsPanelHeightConst);
            var backgroundTexture = new Texture2D(1, 1);

            BuiltInResources.FillUsingDefaultColor(backgroundTexture, EditorGUIUtility.isProSkin);
            GUI.DrawTexture(mainRect, backgroundTexture);

            _graphTabs.DoLayout(mainRect, _openedGraphs.Select(g => g.Name).ToList());
        }