# BehaviourTree

Switch to Manual Switch to Script Reference

Core part of BehaviourTree.
Is used by attaching to GameObject.

## Properties

Property Name | Description
--- | ---
Name | The Graph name. It is used for identification and retrieval when there is more than one Graph in one GameObject.
Play On Start | Flag to be played at the start.
Update Settings | Settings related to updating.
Field Name | Description
--- | ---
Type | Update type. Every Frame Update every frame. Specify Seconds Updated by specifying seconds. Manual Manually updated from the script. For the update method, refer to the page of the corresponding component in the script reference.
Time Type | Time type(only SpecifySeconds). Normal Use time of current frame considering timeScale. Unscaled Use time of current frame without considering timeScale. Realtime Use realtime. Fixed Time Use the latest FixedUpdate start time considering the timeScale. Fixed Unscaled Time Use the latest FixedUpdate start time without considering timeScale.
Seconds | Update interval(only SpecifySeconds).
Debug Infinite Loop Settings | Debug setting of infinite loop
Field Name | Description
--- | ---
Max Loop Count | Maximum loop count
Enable Logging | Enable logging. Log output when the loop count is over maxLoopCount.
Enable Break | Enable Break. Debug.Break when the loop count is over maxLoopCount.
Restart On Finish | Flag to restart at finish.
Execution Settings | Settings related to execution.
Field Name | Description
--- | ---
Type | Execution type Until Running Execute all actions until TreeNodeBase.status is NodeStatus.Running. Count Specify the maximum count of actions to execute.
Max Count | Maximum count of the action to execute.
Open Editor | Open with Arbor Editor Window