protected void DrawNativeProperties() { if (_anyNativeProperties) { EditorGUILayout.Space(); EditorGUILayout.LabelField("Native Properties", GetHeaderGUIStyle()); NaughtyEditorGUI.HorizontalLine( EditorGUILayout.GetControlRect(false), HorizontalLineAttribute.DefaultHeight, HorizontalLineAttribute.DefaultColor.GetColor()); foreach (var property in _nativeProperties) { NaughtyEditorGUI.NativeProperty_Layout(serializedObject.targetObject, property); } } }