Dirty property unity
//Make a begin and a end property around it
using unityEditor;
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label) {
EditorGUI.BeginProperty(position, label, property);
EditorGUILayout.PropertyField(property);
EditorGUI.EndProperty();
}