Class BehaviorTreeHasTagDecorator
Checks if certain actor (from knowledge) has a given tag assigned.
Inheritance
System.Object
BehaviorTreeHasTagDecorator
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class BehaviorTreeHasTagDecorator : BehaviorTreeDecorator, ISerializable
Constructors
BehaviorTreeHasTagDecorator()
Initializes a new instance of the BehaviorTreeHasTagDecorator.
Declaration
public BehaviorTreeHasTagDecorator()
Properties
Actor
The actor value from behavior's knowledge (blackboard, goal or sensor) to check against tag ownership.
Declaration
[EditorOrder(0)]
[Unmanaged]
public BehaviorKnowledgeSelector<Actor> Actor { get; set; }
Property Value
BehaviorKnowledgeSelector<Actor>
|
Invert
If checked, inverts condition - checks if actor doesn't have a tag.
Declaration
[EditorOrder(20)]
[Unmanaged]
public bool Invert { get; set; }
Property Value
System.Boolean
|
Tag
The tag to check.
Declaration
[EditorOrder(10)]
[Unmanaged]
public Tag Tag { get; set; }
Property Value
Tag
|