Vixen
c7401864
csharp
public sealed class SetTagCooldownDecorator

Starts a named cooldown when the branch it is on finishes.

Read the guide page for this →

Fields and properties (1)

  • public Symbol Tag

    The tag this starts.

Methods (3)

  • public SetTagCooldownDecorator(Symbol tag, float seconds)

    Starts a named cooldown when the branch it is on finishes.

  • public override bool Evaluate(in BehaviorContext context, ReadOnlySpan<byte> state)

    Whether the node may be entered, or may keep running.

  • public override ActionStatus Finish(in BehaviorContext context, Span<byte> state, ActionStatus result)

    The node has finished, and this is the last chance to change what that meant.

Used by (2)

  • BehaviorTreeDecoratorTestsVixen.Ai.Tests
  • BuildStateVixen.Ai