private void ApplyModifiedProperties()
 {
     _hasModifiedProperties = false;
     serializedObject.ApplyModifiedProperties();
     AssemblyUtility.DirtyAllScripts();
     serializedObject.Update();
 }