Add bt nodes init

This commit is contained in:
Wojtek Figat
2023-08-16 22:28:48 +02:00
parent 6e85bb8f75
commit d1e2d6699e
4 changed files with 24 additions and 2 deletions

View File

@@ -12,11 +12,14 @@ API_CLASS(Abstract) class FLAXENGINE_API BehaviorTreeCompoundNode : public Behav
{
DECLARE_SCRIPTING_TYPE_WITH_CONSTRUCTOR_IMPL(BehaviorTreeCompoundNode, BehaviorTreeNode);
public:
/// <summary>
/// List with all child nodes.
/// </summary>
API_FIELD(Readonly) Array<BehaviorTreeNode*, InlinedAllocation<8>> Children;
public:
// [BehaviorTreeNode]
void Init(BehaviorTree* tree) override;
};
/// <summary>