Skip to content

ComponentPool.InsertSorted(List, AnimationTransition) Method

Definition

Namespace: Brine2D.ECS

Inserts t into list in stable priority order \(lower [Priority](../../Animation/AnimationTransition/Priority.md 'Brine2D\.Animation\.AnimationTransition\.Priority') = evaluated first\). Equal-priority transitions are appended after existing ones at the same priority, preserving insertion order within a priority band.

C#
private static void InsertSorted(System.Collections.Generic.List<Brine2D.Animation.AnimationTransition> list, Brine2D.Animation.AnimationTransition t);

Parameters

list System.Collections.Generic.List<AnimationTransition>

t AnimationTransition