Wait Class

Summary

A PlatformerGameKit.BehaviourTrees.LeafNode which waits for a specific amount of time before returning PlatformerGameKit.BehaviourTrees.Result.Pass.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.BehaviourTrees
Interfaces
Base Types
graph BT Type-->Base0["LeafNode"] click Base0 "/platformer/api/PlatformerGameKit.BehaviourTrees/LeafNode" Base0-->Base1["Object"] Type-.->Interface0["IBehaviourNode"] click Interface0 "/platformer/api/PlatformerGameKit.BehaviourTrees/IBehaviourNode" Type-.->Interface1["IPolymorphic"] Type["Wait"] class Type type-node

Syntax

[Serializable]
public sealed class Wait : LeafNode, IBehaviourNode, IPolymorphic

Remarks

Documentation: Behaviour Tree Brains - Leaves

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
Duration float
The number of seconds to wait.

Methods

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