public void Draw()
        {
            GUIStyle guistyle;

            if ((guistyle = TrickOverViewItem.headerGroupStyle) == null)
            {
                (guistyle = new GUIStyle()).padding = new RectOffset(4, 6, 10, 4);
            }

            TrickOverViewItem.headerGroupStyle = guistyle;
            GUIStyle guistyle2;

            if ((guistyle2 = TrickOverViewItem.tabGroupStyle) == null)
            {
                (guistyle2 = new GUIStyle(SirenixGUIStyles.BoxContainer)).padding = new RectOffset(0, 0, 0, 0);
            }

            TrickOverViewItem.tabGroupStyle = guistyle2;
            GUILayout.BeginVertical(TrickOverViewItem.headerGroupStyle, new GUILayoutOption[0]);
            GUILayout.Label(this.m_Example.GetTrickOverViewInfo().Name, SirenixGUIStyles.SectionHeader, new GUILayoutOption[0]);

            SirenixEditorGUI.DrawThickHorizontalSeparator(4f, 10f);

            if (!string.IsNullOrEmpty(this.m_Example.GetTrickOverViewInfo().Description))
            {
                GUILayout.Label(this.m_Example.GetTrickOverViewInfo().Description, SirenixGUIStyles.MultiLineLabel, new GUILayoutOption[0]);
                SirenixEditorGUI.DrawThickHorizontalSeparator(10f, 10f);
            }

            if (this.m_TrickOverViewPreviewDrawer != null)
            {
                Color color = GUI.backgroundColor;
                GUI.backgroundColor = TrickOverViewItem.backgroundColor;
                this.tabGroup.BeginGroup(true, TrickOverViewItem.tabGroupStyle);
                GUI.backgroundColor = color;

                GUITabPage guitabPage = this.tabGroup.RegisterTab(this.m_Example.GetTrickOverViewInfo().Name);
                if (guitabPage.BeginPage())
                {
                    m_TrickOverViewPreviewDrawer.Draw(this.DrawCodeExample);
                }

                guitabPage.EndPage();

                this.tabGroup.EndGroup();
            }
            else
            {
                GUILayout.Label("No examples available.", new GUILayoutOption[0]);
            }

            GUILayout.EndVertical();
        }