Adding BehaviourTree component
To use the behaviour tree you need the BehaviourTree component.
There are two ways to add the BehaviourTree component.
Create button in Hierarchy window
- Click the Create button in the Hierarchy window or right click in the window
- Select “Arbor / BehaviourTree”
- A GameObject with BehaviourTree is created.
ArborEditor window toolbar
- Open the ArborEditor window and click the “Create” button on the toolbar
- Select BehaviourTree
- A GameObject with BehaviourTree is created.
Unselected menu of ArborEditor window
- Open the ArborEditor window and click the “Create BehaviourTree” button in the menu displayed when graph is not selected
- A GameObject with BehaviourTree is created.
Inspector window “Add Component” button
- Select the GameObject you want to add ArborFSM in the Hierarchy window
- Click the “Add Component” button in the Inspector window
- Select “Arbor / BehaviourTree”.
- BehaviourTree is added to GameObject.