Implementing a BT in Unity with Behavior Bricks
Behavior Bricks is a robust but free BT implementation for Unity developed by the Complutense University of Madrid in Spain. Using Behavior Bricks, you can start using BTs in your projects without implementing BTs from scratch. It also has a visual editor where you can drop and connect nodes without any additional code.
Follow these steps to install Behavior Bricks:
- We need to go to the Unity Asset Store by going on the website https://assetstore.unity.com/.
- Search for
Behavior Bricks
. - Click on Add to My Assets. Once it's done, we can import it into our project.
- Go to Package Manager (Window | Package Manager).
- Go to My Assets.
- Import the Behavior Bricks package by clicking on the Import button.