public static void DrawProperty(Rect position, EditorEntry serializedProperty) { EditorGUI.SelectableLabel(new Rect(position.x, position.y, serializedProperty, position.height), (serializedProperty)); EditorGUI.PropertyField(new Rect(position.x + serializedProperty, position.y, position.width - serializedProperty, position.height), serializedProperty, GUIContent.none); }
public static void DrawPropertyWidthIndexed( Rect position, GUIContent label, SerializedProperty property, int totalAmount, int index, bool expandToWidth = false, bool onMultipuleLines = true) { var prop = new EditorEntry(label.text, property); prop.Draw(GetRectWidthIndexed(position, totalAmount, index, expandToWidth, onMultipuleLines)); }