Demonstrates autonomous agents using behavior trees (BT) in order to make decisions about patrolling and attacking.
Utilize AI bots for your scenes by adding the ExamplePatrolAndAttackBots script, waypoints, objects and Canvas prefab.
First, add this script to an object in your scene to enable AI bots.
Next, add plane and cube objects to the scene.
Adjust the cube to create a wall that bisects the plane.
Instance Waypoint_AutoAddToRide prefabs on the plane. Reference hierarchy in example scene for setup.
Import Canvas prefab. Reference prefab in example scene for creation and setup of UI options.