Ejemplo n.º 1
0
    public static void DisplayPreferenceGUI()
    {
        GUILayout.BeginArea(new Rect(134f, 39f, 352f, 352f));         // the rect in the preference window is bizarre...
        {
#if IS_CANDLELIGHT_SCENE_GUI_AVAILABLE
            EditorGUIX.DisplaySceneGUIToggle();
#endif
            EditorGUILayout.BeginVertical(TabAreaStyle, GUILayout.ExpandWidth(false));
            {
                Instance.m_CurrentTab = EditorGUIX.DisplayTabGroup(
                    Instance.m_CurrentTab,
                    s_FeatureGroupLabels,
                    s_TabPages,
                    4
                    );
            }
            EditorGUILayout.EndVertical();
        }
        GUILayout.EndArea();
    }