TreeBehaviourNode
Class in Arbor.BehaviourTree / Inherits from: TreeNodeBase
Implements interfaces: INodeBehaviourContainer
Description
Base class of node with TreeNodeBehaviour
Properties
Property Name | Description |
---|---|
behaviour | Main behaviour |
breakPoint | Break point. When this property is true, the editor will be paused when the node becomes active. |
decoratorList | Decorator list |
serviceList | Service list |
Methods
Method Name | Description |
---|---|
AddDecorator | Adds the Decorator. |
AddService | Adds the Service. |
DestroyAllBehaviour | Destroy all behaviour. |
DestroyBehaviour | Destroy behaviour. |
GetBehaviourObject | Get Main Behaviour Object. |
InsertDecorator | Insert the Decorator. |
InsertService | Insert the Service. |
IsContainsBehaviour | Check if it contains NodeBehaviour. |
MoveDecorator | Move the order of Decorator. |
MoveService | Move the order of Service. |
OnGraphChanged | Called when the NodeGraph to which the Node belongs has changed. |
SetBehaviour | Set Main Behaviour. |
Inherited Members
Fields
Field Name | Description |
---|---|
nodeComment | Comment |
position | Position on the Arbor Editor. |
showComment | Whether to display comments |
Properties
Property Name | Description |
---|---|
behaviourTree | Gets the behaviour tree. |
enablePriority | Returns true if it is traced from the root node and connected. |
isActive | Returns true if it is active. |
nodeGraph | Gets the NodeGraph. |
nodeID | Gets the node identifier. |
parentNode | Get parent node. |
priority | The priority of the node. |
status | The state of the node. |
Methods
Method Name | Description |
---|---|
GetName | Get node name. |
GetParentLinkSlot | Get NodeLinkSlot to parent. |
HasChildLinkSlot | Whether this node has a NodeLinkSlot to child. |
HasParentLinkSlot | Whether this node has a NodeLinkSlot to parent. |
IsDeletable | Returns whether or not it can be deleted. |
OnExecute | Called when executing. |
ToString | Convert node to string (for debugging). |