Ejemplo n.º 1
0
        public static void Enumeration(GUIContent label, SerializedProperty property)
        {
            Rect rect = EditorGUILayout.GetControlRect(GUILayout.ExpandWidth(true), GUILayout.Height(EditorGUIUtility.singleLineHeight));

            ExtendedGUI.Enumeration(rect, label, property);
        }
Ejemplo n.º 2
0
        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));
        }
Ejemplo n.º 3
0
 public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
 {
     ExtendedGUI.Enumeration(position, label, property);
 }