TreeBehaviourNode

Class in Arbor.BehaviourTree / Inherits from: TreeNodeBase
Implements interfaces: INodeBehaviourContainer, IParentLinkSlotHolder

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.
name Node name.
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.

Events

Event Name Description
onChangedPriority Called when priority changes.

Methods

Method Name Description
GetName Get node name.
GetOldName Get the node name before Arbor 3.9.0.
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.
OnAfterDeserialize Called from ISerializationCallbackReceiver.OnAfterDeserialize.
OnBeforeSerialize Called from ISerializationCallbackReceiver.OnBeforeSerialize.
OnExecute Called when executing.
ToString Convert node to string (for debugging).

Static Fields

Field Name Description
defaultWidth Default width of node