Summary
A
PlatformerGameKit.BehaviourTrees.ModifierNode
which executes its PlatformerGameKit.BehaviourTrees.ModifierNode.Child
and returns the opposite of
its PlatformerGameKit.BehaviourTrees.Result
(using PlatformerGameKit.BehaviourTrees.BehaviourTreeUtilities.Invert(PlatformerGameKit.BehaviourTrees.Result)
).
- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.BehaviourTrees - Interfaces
-
- IBehaviourNode
- IPolymorphic
- Base Types
-
- Object
- ModifierNode
graph BT
Type-->Base0["ModifierNode"]
click Base0 "/platformer/api/PlatformerGameKit.BehaviourTrees/ModifierNode"
Base0-->Base1["Object"]
Type-.->Interface0["IBehaviourNode"]
click Interface0 "/platformer/api/PlatformerGameKit.BehaviourTrees/IBehaviourNode"
Type-.->Interface1["IPolymorphic"]
Type["Invert"]
class Type type-node
Syntax
[Serializable]
public class Invert : ModifierNode, IBehaviourNode, IPolymorphic
Remarks
Documentation:
Behaviour Tree Brains - Modifiers
Attributes
Type | Description |
---|---|
Serializable |
Properties
Name | Value | Summary |
---|---|---|
Child | IBehaviourNode |
The other node on which
PlatformerGameKit.BehaviourTrees.IBehaviourNode.Execute is called to determine the
PlatformerGameKit.BehaviourTrees.Result of this node.
Inherited from ModifierNode
|
ChildCount | int |
The number of children this node has.
Inherited from ModifierNode
|
Methods
Name | Value | Summary |
---|---|---|
Execute |
Result |
Runs this node's main logic.
|
GetChild |
IBehaviourNode |
Gets the child node at the specified `index`.
Inherited from ModifierNode
|