namespace ColdMint.scripts.behaviorTree.framework;
///
/// 并行节点
/// ParallelNode
///
///
///Run all of its child nodes
///将其所有子节点都运行一遍
///
public class ParallelNode : BehaviorTreeNodeTemplate
{
public override int Execute(bool isPhysicsProcess, double delta)
{
foreach (var child in Children)
{
child.Execute(isPhysicsProcess, delta);
}
return Config.BehaviorTreeResult.Success;
}
}