# TreeNodeBehaviour

Class in Arbor.BehaviourTree / Inherits from: PlayableBehaviour
Implements interfaces: IPlayableBehaviourCallbackReceiver

## Description

Base class that defines the behavior of TreeBehaviourNode.

## Fields

Field Name | Description
--- | ---
expanded | Expanded on ArborEditorWindow.

## Properties

Property Name | Description
--- | ---
behaviourTree | Gets the behaviour tree.
treeNode | Get the TreeNodeBase.

## Methods

Method Name | Description
--- | ---
OnAbort | This function is called when the own node is aborted.
OnAwake | This function is called when the own node becomes active for the first time.
OnEnd | This function is called when the own node ends.
OnFixedUpdate | This function is called in FixedUpdate while the local node is active.
OnInitializeEnabled | Called to perform enabled initialization.
OnLateUpdate | This function is called in LateUpdate while the local node is active.
OnStart | This function is called when the own node becomes active.
OnUpdate | This function is called when updating every frame while the own node is active.

## Inherited Members

### Properties

Property Name | Description
--- | ---
calculatorSlotFieldCount | Number of DataSlotField
dataSlotCount | Number of DataSlot
dataSlotFieldCount | Number of DataSlotField
node | Get the Node.
nodeGraph | Gets the NodeGraph.
nodeID | Gets the node identifier.

### Events

Event Name | Description
--- | ---
onValidate | Callback called during OnValidate

### Methods

Method Name | Description
--- | ---
ContainsSlot | Determine if the Data Slot is included.
GetCalculatorSlotField | Get DataSlotField.
GetDataSlot | Get DataSlot.
GetDataSlotField | Get DataSlotField.
Initialize | For Editor.
OnCreated | Raises the created event.
OnGraphPause | This function is called when the graph is paused.
OnGraphResume | This function is called when the graph resumes.
OnGraphStop | This function is called when the graph stops.
OnPreDestroy | Raises the pre destroy event.
OnRebuildFields | It is called when reconstructing data about fields.
RebuildCalculatorSlotFields | Rebuild the DataSlotField.
RebuildDataSlotFieldIfNecessary | Check if DataSlot exists and rebuild if necessary.
RebuildDataSlotFields | Rebuild the DataSlotField.
RebuildFields | For internal.
UpdateDataLink | Manually update DataLink values. Update the value of DataLink field ofDataLinkUpdateTiming.Manual.

### Static Methods

Method Name | Description
--- | ---
CreateNodeBehaviour | For Editor.
Destroy | Destroy NodeBehaviour.