Decorator

Class in Arbor.BehaviourTree / Inherits from: TreeNodeBehaviour

Description

A class that defines decoration for composite nodes and action nodes. Inherit and use it.

Remarks

Available Attributes :

Properties

Property Name Description
abortFlags Abort flags
behaviourEnabled Gets or sets a value indicating whether [behaviour enabled].
currentCondition Current condition
isRevaluation It returns whether to reevaluate.

Methods

Method Name Description
HasConditionCheck It is judged whether Condition Check should be performed.
OnConditionCheck Perform ConditionCheck.
OnFinishExecute FinishExecute callback.
You can change the result of the execution result.
OnRepeatCheck Callback to decide whether to repeat again when the self node finishes.

Static Methods

Method Name Description
Create Create Decorator

Enums

Type Name Description
Condition The condition of the decorator

Inherited Members

Fields

Field Name Description
expanded Expanded on ArborEditorWindow.

Properties

Property Name Description
behaviourTree Gets the behaviour tree.
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.
treeNode Get the TreeNodeBase.

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.
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.
OnCreated Raises the created event.
OnEnd This function is called when the own node ends.
OnFixedUpdate This function is called in FixedUpdate while the local node is active.
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.
OnInitializeEnabled Called to perform enabled initialization.
OnLateUpdate This function is called in LateUpdate while the local node is active.
OnPreDestroy Raises the pre destroy event.
OnRebuildFields It is called when reconstructing data about fields.
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.
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.