Hello, I’d like to give you a small suggestion for the Graph Owner Inspector code.
EditorGUI.BeginChangeCheck(); // add
var label = EditorGUI.BeginProperty(rect, EditorUtils.GetTempContent(“Blackboard”), blackboardProp);
owner.blackboard = (IBlackboard)EditorGUI.ObjectField(rect, label, owner.blackboard as Object, typeof(IBlackboard), true);
EditorGUI.EndProperty();
if (EditorGUI.EndChangeCheck()) // add
{
EditorUtility.SetDirty(owner); // add
}
This code activates the dirty flag when the blackboard properties change.
This is useful when pasting a blackboard and graph owner in prefab mode.
Have a good day.