AnimationTransition.OnFired Property
Definition¶
Namespace: Brine2D.Animation
Optional action invoked immediately after this transition fires (after the new clip has started). Use this to perform side-effects that should only happen when the transition actually fires — for example, consuming an AnimationParameters trigger without risking early consumption from short-circuit evaluation in Condition.
See AddTriggerTransition(string, string, AnimationParameters, string, bool, float, float, float, int, bool) for a ready-made helper that wires this up automatically for trigger-based transitions.
public System.Action? OnFired { get; init; }