Add concept of Goals to Behavior Knowledge

This commit is contained in:
Wojtek Figat
2023-08-29 11:41:07 +02:00
parent 81a2898d4e
commit 0defecaeb9
7 changed files with 213 additions and 48 deletions

View File

@@ -86,8 +86,12 @@ API_CLASS(Sealed) class FLAXENGINE_API BehaviorTreeRootNode : public BehaviorTre
API_FIELD(Attributes="EditorOrder(0), TypeReference(\"\", \"IsValidBlackboardType\"), CustomEditorAlias(\"FlaxEditor.CustomEditors.Editors.TypeNameEditor\")")
StringAnsi BlackboardType;
// List of full typenames of the behavior goals (structure or class).
API_FIELD(Attributes="EditorOrder(10), Collection(OverrideEditorTypeName=\"FlaxEditor.CustomEditors.Editors.TypeNameEditor\")")
Array<StringAnsi> GoalTypes;
// The target amount of the behavior logic updates per second.
API_FIELD(Attributes="EditorOrder(10)")
API_FIELD(Attributes="EditorOrder(100)")
float UpdateFPS = 10.0f;
};