GaiaCommon1.EditorUtils.TabBar(int, UnityEngine.GUIContent[], UnityEngine.GUIStyle, UnityEngine.GUIStyle, params UnityEngine.GUILayoutOption[])

Here are the examples of the csharp api GaiaCommon1.EditorUtils.TabBar(int, UnityEngine.GUIContent[], UnityEngine.GUIStyle, UnityEngine.GUIStyle, params UnityEngine.GUILayoutOption[]) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

4 Examples 7

19 View Source File : EditorUtils.cs
License : MIT License
Project Creator : naivetang

public void Tabs(TabSet tabs, GUIStyle style, GUIStyle selectedStyle, params GUILayoutOption[] options)
        {
            tabs.ActiveTabIndex = TabBar(tabs.ActiveTabIndex, tabs.Labels, style, selectedStyle, options);

            GUILayout.BeginVertical(Styles.tabsFrame);
            {
                tabs.ActiveTabsScroll = GUILayout.BeginScrollView(tabs.ActiveTabsScroll, false, false);
                {
                    GUILayout.BeginVertical(Styles.tabsPanel);
                    {
                        tabs.ActiveTab.TabMethod.Invoke();
                    }
                    GUILayout.EndVertical();
                }
                GUILayout.EndScrollView();
            }
            GUILayout.EndVertical();
        }

19 View Source File : EditorUtils.cs
License : MIT License
Project Creator : naivetang

public void Tabs(TabSet tabs, params GUILayoutOption[] options)
        {
            tabs.ActiveTabIndex = TabBar(tabs.ActiveTabIndex, tabs.Labels, Styles.tab, Styles.tabSelected, options);

            GUILayout.BeginVertical(Styles.tabsFrame);
            {
                tabs.ActiveTabsScroll = GUILayout.BeginScrollView(tabs.ActiveTabsScroll, false, false);
                {
                    GUILayout.BeginVertical(Styles.tabsPanel);
                    {
                        tabs.ActiveTab.TabMethod.Invoke();
                    }
                    GUILayout.EndVertical();
                }
                GUILayout.EndScrollView();
            }
            GUILayout.EndVertical();
        }

19 View Source File : EditorUtils.cs
License : MIT License
Project Creator : naivetang

public void TabsNoBorder(TabSet tabs, GUIStyle style, GUIStyle selectedStyle, params GUILayoutOption[] options)
        {
            tabs.ActiveTabIndex = TabBar(tabs.ActiveTabIndex, tabs.Labels, style, selectedStyle, options);

            GUILayout.BeginVertical(Styles.tabsFrameBorderless);
            {
                tabs.ActiveTabsScroll = GUILayout.BeginScrollView(tabs.ActiveTabsScroll, false, false);
                {
                    GUILayout.BeginVertical(Styles.tabsPanel);
                    {
                        tabs.ActiveTab.TabMethod.Invoke();
                    }
                    GUILayout.EndVertical();
                }
                GUILayout.EndScrollView();
            }
            GUILayout.EndVertical();
        }

19 View Source File : EditorUtils.cs
License : MIT License
Project Creator : naivetang

public void TabsNoBorder(TabSet tabs, params GUILayoutOption[] options)
        {
            tabs.ActiveTabIndex = TabBar(tabs.ActiveTabIndex, tabs.Labels, Styles.tab, Styles.tabSelected, options);

            GUILayout.BeginVertical(Styles.tabsFrameBorderless);
            {
                tabs.ActiveTabsScroll = GUILayout.BeginScrollView(tabs.ActiveTabsScroll, false, false);
                {
                    GUILayout.BeginVertical(Styles.tabsPanel);
                    {
                        tabs.ActiveTab.TabMethod.Invoke();
                    }
                    GUILayout.EndVertical();
                }
                GUILayout.EndScrollView();
            }
            GUILayout.EndVertical();
        }