| Namespace: | Sirenix.Utilities.Editor | 
| Assembly: | Sirenix.Utilities.Editor | 
public class GUITabGroupvar tabGroup = SirenixEditorGUI.CreateAnimatedTabGroup(someKey);
// Register your tabs before starting BeginGroup.
var tab1 = tabGroup.RegisterTab("tab 1");
var tab2 = tabGroup.RegisterTab("tab 2");
tabGroup.BeginGroup(drawToolbar: true);
{
    if (tab1.BeginPage())
    {
        // Draw GUI for the first tab page;
    }
    tab1.EndPage();
    if (tab2.BeginPage())
    {
        // Draw GUI for the second tab page;
    }
    tab2.EndPage();
}
tabGroup.EndGroup();
// Control the animation speed.
tabGroup.AnimationSpeed = 0.2f;
// If true, the tab group will have the height equal to the biggest page. Otherwise the tab group will animate in height as well when changing page.
tabGroup.FixedHeight = true;
// You can change page by calling:
tabGroup.GoToNextPage();
tabGroup.GoToPreviousPage();public GUITabGroup()public float AnimationSpeedpublic bool ExpandHeightpublic bool FixedHeightpublic TabLayouting TabLayoutingpublic GUITabPage CurrentPage { get; }public Rect InnerRect { get; }public GUITabPage NextPage { get; }public Rect OuterRect { get; }public float T { get; }public float ToolbarHeight { get; set; }public void BeginGroup(bool drawToolbar = true, GUIStyle style = null)| System.Boolean | drawToolbar | if set to  | 
| UnityEngine.GUIStyle | style | The style. | 
public void EndGroup()public void GoToNextPage()public void GoToPage(GUITabPage page)| GUITabPage | page | 
public void GoToPage(string pageName)| System.String | pageName | 
public void GoToPreviousPage()public void SetCurrentPage(GUITabPage page)| GUITabPage | page | The page to switch to. |