Unity package. Fully cross-platform Behavior Tree.
Unity package. Fully cross-platform Behavior Tree.
Does not reference Unity Engine, so it could be used in a regular C# project.
Make sure you have standalone Git installed first. Reboot after installation.
In Unity, open "Window" -> "Package Manager".
Click the "+" sign on top left corner -> "Add package from git URL..."
Paste this: https://github.com/forcepusher/com.bananaparty.behaviortree.git#5.2.0
See minimum required Unity version in the package.json
file.
OnExecute
and OnReset
.
OnExecute
or being interrupted in OnReset
is accomplished by comparing the current BehaviorNode.Status
.ReactiveSequenceNode
and ReactiveSelectorNode
.ReactiveSequenceNode
), you would need to group them togehter into an additional Sequence, so Actions aren't starting from the beginning every frame.The library assumes that you're familiar with OOP and BehaviorTrees.
There are no Samples yet, refer to the Tests folder instead.