TreeNodeBase

Class in Arbor.BehaviourTree / Inherits from: Node

Description

Base class of Behavior Tree's node.

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.
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
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).

Inherited Members

Fields

Field Name Description
nodeComment Comment
position Position on the Arbor Editor.
showComment Whether to display comments

Properties

Property Name Description
name Node name.
nodeGraph Gets the NodeGraph.
nodeID Gets the node identifier.

Methods

Method Name Description
GetName Get node name.
GetOldName Get the node name before Arbor 3.9.0.
IsContainsBehaviour Check if it contains NodeBehaviour.
OnAfterDeserialize Called from ISerializationCallbackReceiver.OnAfterDeserialize.
OnBeforeSerialize Called from ISerializationCallbackReceiver.OnBeforeSerialize.
OnGraphChanged Called when the NodeGraph to which the Node belongs has changed.

Static Fields

Field Name Description
defaultWidth Default width of node