NodeBehaviour
Class in Arbor / Inherits from: UnityEngine.MonoBehaviour
Description
Base class for scripts to be assigned to various nodes of ArborFSM.
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. |
OnInitializeEnabled | Called to perform enabled initialization. |
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. |