Skip to content

AsepriteClipLoader.ConfigureAnimator(SpriteAnimator, IReadOnlyList) Method

Definition

Namespace: Brine2D.Animation

Adds all clips in clips to animator and applies direction hints stored in UserData. A clip with UserData == automatically toggles Reversed on enter/exit, scoped per (clip, animator) pair. Safe to call multiple times — callbacks are only subscribed once per pair.

public void ConfigureAnimator(Brine2D.Animation.SpriteAnimator animator, System.Collections.Generic.IReadOnlyList<Brine2D.Animation.AnimationClip> clips);

Parameters

animator SpriteAnimator

clips System.Collections.Generic.IReadOnlyList<AnimationClip>