csharp
public sealed class WaitTaskWaits a fixed number of seconds.
Fields and properties (1)
public static int StateSizeHow many bytes it needs. Registered with the action, per doc 37 § D3.
Methods (4)
public WaitTask(float seconds)Waits a fixed number of seconds.
public void Start(in AgentContext context, Span<byte> state)Begins. Called once before the first Tick, on a zeroed span.
public ActionStatus Tick(in AgentContext context, Span<byte> state, float delta)Advances it.
public void Abort(in AgentContext context, Span<byte> state)Stops it early. The span is zeroed afterwards; this is for what is outside it.
Used by (7)
- VillageAiVillage
- BehaviorTreeDeterminismTestsVixen.Ai.Tests
- BehaviorTreeTaskTestsVixen.Ai.Tests
- BuildStateVixen.Ai
- RunQueryNodeTestsVixen.Ai.Nodes.Tests
- VillageVixen.Ai.Nodes.Tests
- LiveAgentVixen.Editor.AssetEditors.Tests