Class BehaviorTreeDelayNode
Delay node that waits a specific amount of time while executed.
Inherited Members
BehaviorTreeDelayNode
BehaviorTreeDelayNode
BehaviorTreeDelayNode
BehaviorTreeDelayNode
Assembly: FlaxEngine.dll
File: Engine/AI/BehaviorTreeNodes.h
Syntax
public class BehaviorTreeDelayNode : public BehaviorTreeNode
Methods
GetDebugInfo(const BehaviorUpdateContext& context)
Gets the node debug state text (multiline). Used in Editor-only to display nodes state. Can be called without valid Behavior/Knowledge/Memory to display default debug info (eg. node properties).
Declaration
public virtual String GetDebugInfo(const BehaviorUpdateContext& context) const override
Parameters
BehaviorUpdateContext
context
Behavior context data. |
Returns
String
Debug info text (multiline). |
Overrides
GetStateSize()
Gets the node instance state size. A chunk of the valid memory is passed via InitState to setup that memory chunk (one per-behavior).
Declaration
public virtual int32 GetStateSize() const override
Returns
int32
|
Overrides
InitState(const BehaviorUpdateContext& context)
Initializes node instance state. Called when starting logic simulation for a given behavior. Call constructor of the state container.
Declaration
public virtual void InitState(const BehaviorUpdateContext& context) override
Parameters
BehaviorUpdateContext
context
Behavior update context data. |
Overrides
Update(const BehaviorUpdateContext& context)
Updates node logic.
Declaration
public virtual BehaviorUpdateResult Update(const BehaviorUpdateContext& context) override
Parameters
BehaviorUpdateContext
context
Behavior update context data. |
Returns
BehaviorUpdateResult
Operation result enum. |