Class BehaviorTreeKnowledgeConditionalDecorator
Checks certain knowledge value to conditionally enter the node.
Inheritance
System.Object
BehaviorTreeKnowledgeConditionalDecorator
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class BehaviorTreeKnowledgeConditionalDecorator : BehaviorTreeDecorator, ISerializable
Constructors
BehaviorTreeKnowledgeConditionalDecorator()
Initializes a new instance of the BehaviorTreeKnowledgeConditionalDecorator.
Declaration
public BehaviorTreeKnowledgeConditionalDecorator()
Properties
Comparison
Values comparision mode.
Declaration
[EditorOrder(20)]
[Unmanaged]
public BehaviorValueComparison Comparison { get; set; }
Property Value
BehaviorValueComparison
|
ValueA
The first value from behavior's knowledge (blackboard, goal or sensor) to use for comparision.
Declaration
[EditorOrder(0)]
[Unmanaged]
public BehaviorKnowledgeSelectorAny ValueA { get; set; }
Property Value
BehaviorKnowledgeSelectorAny
|
ValueB
The second value to use for comparision (constant).
Declaration
[EditorOrder(10)]
[Unmanaged]
public float ValueB { get; set; }
Property Value
System.Single
|