Behavior Bricks is a powerful but free Behavior Trees implementation for Unity developed by the Complutense University of Madrid in Spain. Using Behavior Bricks, you can start using BTs in your projects without the need to implement 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 (Window | General | Asset Store or pressing Ctrl + 9 in Windows or Cmd + 9 on OSX).
- Search for Behavior Bricks.
- Download it and when that's done, we can import it in our project.
At this point, Behavior Bricks is ready to go and we can proceed with our demo.
The following steps will give you a brief idea of the steps to follow:
- Set up the scene.
- Implement a Day/Night cycle.
- Design the Enemy Behavior...