# BehaviourTree

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.
Restart On Finish | Flag to restart at finish.
Update Settings | Settings related to updating.
Field Name | Description
--- | ---
Type | Update type. Every Frame Update every frame. Specify Seconds Updated by specifying seconds. Manual Update manually. Refer to the script reference of Component for the update method.
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.
Seconds | Update interval(only SpecifySeconds).
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.
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.

## Remarks

Click on the Open Editor button to open the Arbor Editor Window.