An asset to help you design great ai. Requires Unity 5.4 or higher.
- Add this repository to your projects Assets folder.
- In Unity, go to Window->Node Editor to open the Behavior Tree Editor.
- In the Tree editor, click "New Canvas" and select "Behavior Canvas".
- Now you can create behaviors by clicking right mouse button and placing nodes.
- NOTE: You must have a "Root" and no connected nodes with a single output can have it empty.
- Save the Behavior tree using the "Save Canvas As" button.
- Add a empty GameObject to the scene and add a "Behavior Manager" script to it.
- Add the behavior tree reference and the agent reference and hit Play.
The documentation for the project can be found within this repository in [DOCUMENTATION.md] which includes the up to date documentation for this GitHub repository.
There is one example scene set up that shows a very basic ai in action. It can be found in BehaviorTreeDesigner\Examples\Scenes.
Code released under the [MIT License].