Class BehaviorTreeDelayNode
Delay node that waits a specific amount of time while executed.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class BehaviorTreeDelayNode : BehaviorTreeNode, ISerializable
Constructors
BehaviorTreeDelayNode()
Properties
RandomDeviation
Wait time randomization range to deviate original value.
Declaration
[EditorOrder(20)]
[Limit(0F, 3.40282347E+38F, 1F)]
[Unmanaged]
public float RandomDeviation { get; set; }
Property Value
System.Single
|
WaitTime
Time in seconds to wait when node gets activated. Unused if WaitTimeSelector is used.
Declaration
[EditorOrder(10)]
[Limit(0F, 3.40282347E+38F, 1F)]
[Unmanaged]
public float WaitTime { get; set; }
Property Value
System.Single
|
WaitTimeSelector
Wait time from behavior's knowledge (blackboard, goal or sensor). If set, overrides WaitTime but still uses RandomDeviation.
Declaration
[EditorOrder(30)]
[Unmanaged]
public BehaviorKnowledgeSelector<float> WaitTimeSelector { get; set; }
Property Value
BehaviorKnowledgeSelector<System.Single>
|