csharp
public sealed class WaitBlackboardTimeTaskWaits for however long a key says, with an optional random deviation.
Fields and properties (1)
public static int StateSizeHow many bytes it needs.
Methods (4)
public WaitBlackboardTimeTask(BlackboardKey key, float randomDeviation = 0)Waits for however long a key says, with an optional random deviation.
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 (2)
- BehaviorTreeTaskTestsVixen.Ai.Tests
- BuildStateVixen.Ai