Implementing a BT in Unity with Behavior Bricks

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:

  1. We need to go to the Unity Asset Store (Window | General | Asset Store or pressing Ctrl + 9 in Windows or Cmd + 9 on OSX).
  2. Search for Behavior Bricks.
  3. 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 ...

Get Unity Artificial Intelligence Programming - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.