public static void Enumeration(GUIContent label, SerializedProperty property) { Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight)); ExtendedGUI.Enumeration(rect, label, property); }
public static Enumeration Enumeration(GUIContent label, Enumeration enumeration) { Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight)); return(ExtendedGUI.Enumeration(rect, label, enumeration)); }
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) { ExtendedGUI.Enumeration(position, label, property); }