//Set the target blackboard for all BBVariables found in class. This is done every time the blackboard of the Task is set to a new value void UpdateBBFields(Blackboard bb) { BBVariable.SetBBFields(bb, this); taskAgent.bb = bb; }
//Set the target blackboard for all BBVariables found on node. Done when creating node, OnValidate as well as when graphBlackboard set to a new value. public void UpdateNodeBBFields(Blackboard bb) { BBVariable.SetBBFields(bb, this); }