private void DrawPropertyListHeader(Rect rect, ReorderableList list) { rect = EZEditorGUIUtility.CalcReorderableListHeaderRect(rect, list); float width = rect.width / 5; rect.width = width; EditorGUI.LabelField(rect, "DeclaringType"); rect.x += rect.width; EditorGUI.LabelField(rect, "PropertyType"); rect.x += rect.width; rect.width = width * 3; EditorGUI.LabelField(rect, "PropertyName"); }
private void DrawMethodListHeader(Rect rect, ReorderableList list) { rect = EZEditorGUIUtility.CalcReorderableListHeaderRect(rect, list); float width = rect.width / 5; rect.width = width; EditorGUI.LabelField(rect, "DeclaringType"); rect.x += rect.width; EditorGUI.LabelField(rect, "ReturnType"); rect.x += rect.width; rect.width = width * 2; EditorGUI.LabelField(rect, "MethodName"); rect.x += rect.width; rect.width = width - margin; EditorGUI.LabelField(rect, "IsStatic"); }
private void DrawEnumNameListHeader(Rect rect, ReorderableList list) { rect = EZEditorGUIUtility.CalcReorderableListHeaderRect(rect, list); EditorGUI.LabelField(rect, "EnumNames"); }