ModifierNode Class

Summary

An PlatformerGameKit.BehaviourTrees.IBehaviourNode which calls PlatformerGameKit.BehaviourTrees.IBehaviourNode.Execute on a PlatformerGameKit.BehaviourTrees.ModifierNode.Child node and modifies its PlatformerGameKit.BehaviourTrees.Result.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.BehaviourTrees
Interfaces
Base Types
  • Object
Derived Types
graph BT Type-->Base0["Object"] Type-.->Interface0["IBehaviourNode"] click Interface0 "/platformer/api/PlatformerGameKit.BehaviourTrees/IBehaviourNode" Type-.->Interface1["IPolymorphic"] Type["ModifierNode"] class Type type-node Derived0["Invert"]-->Type click Derived0 "/platformer/api/PlatformerGameKit.BehaviourTrees/Invert" Derived1["Ignore"]-->Type click Derived1 "/platformer/api/PlatformerGameKit.BehaviourTrees/Ignore"

Syntax

[Serializable]
public abstract class ModifierNode : IBehaviourNode, IPolymorphic

Remarks

Documentation: Behaviour Tree Brains - Modifiers

Attributes

Type Description
SerializableAttribute

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.
ChildCount int
The number of children this node has.

Methods

Name Value Summary
Execute() Result
Runs this node's main logic.
GetChild(int) IBehaviourNode
Gets the child node at the specified `index`.