add unity behavior tree package & examples
add start of own implementation of a behavior tree
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace DefaultNamespace.BehaviorTree
|
||||
{
|
||||
public class Composite : Node
|
||||
{
|
||||
public Composite(List<Node> nodes)
|
||||
{
|
||||
_nodes.AddRange(nodes);
|
||||
}
|
||||
|
||||
public Composite(params Node[] nodes)
|
||||
{
|
||||
_nodes.AddRange(nodes);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user