add unity behavior package & examples

add behavior tree implementation
This commit is contained in:
2025-04-23 18:10:17 +02:00
parent 4602ff2416
commit a97b3be68a
34 changed files with 3675 additions and 92 deletions
@@ -0,0 +1,17 @@
using System.Collections.Generic;
namespace DefaultNamespace.BehaviorTree
{
public abstract class Composite : Node
{
public Composite(List<Node> nodes)
{
_nodes.AddRange(nodes);
}
public Composite(params Node[] nodes)
{
_nodes.AddRange(nodes);
}
}
}