LeafNode Class

Summary

An PlatformerGameKit.BehaviourTrees.IBehaviourNode which executes some logic.
graph BT Type-->Base0["Object"] Type-.->Interface0["IBehaviourNode"] click Interface0 "/platformer/api/PlatformerGameKit.BehaviourTrees/IBehaviourNode" Type-.->Interface1["IPolymorphic"] Type["LeafNode"] class Type type-node Derived0["FaceAttacker"]-->Type click Derived0 "/platformer/api/PlatformerGameKit.BehaviourTrees/FaceAttacker" Derived1["SetMovementSine"]-->Type click Derived1 "/platformer/api/PlatformerGameKit.BehaviourTrees/SetMovementSine" Derived2["SetMovementForward"]-->Type click Derived2 "/platformer/api/PlatformerGameKit.BehaviourTrees/SetMovementForward" Derived3["TrySetState"]-->Type click Derived3 "/platformer/api/PlatformerGameKit.BehaviourTrees/TrySetState" Derived4["Wait"]-->Type click Derived4 "/platformer/api/PlatformerGameKit.BehaviourTrees/Wait" Derived5["TurnAround"]-->Type click Derived5 "/platformer/api/PlatformerGameKit.BehaviourTrees/TurnAround" Derived6["ActionNode"]-->Type click Derived6 "/platformer/api/PlatformerGameKit.BehaviourTrees/ActionNode" Derived7["UnityEventNode"]-->Type click Derived7 "/platformer/api/PlatformerGameKit.BehaviourTrees/UnityEventNode" Derived8["FuncNode"]-->Type click Derived8 "/platformer/api/PlatformerGameKit.BehaviourTrees/FuncNode"

Syntax

[Serializable]
public abstract class LeafNode : IBehaviourNode, IPolymorphic

Remarks

Documentation: Behaviour Tree Brains - Leaves

Attributes

Type Description
SerializableAttribute

Methods

Name Value Summary
Execute() Result
Runs this node's main logic.