2d: support animating from ResHandle<AtlasAnimations>, not just non-asset handles

This commit is contained in:
SeanOMik 2024-11-24 11:15:34 -05:00
parent 558f027b19
commit cb4cf9a48f
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
1 changed files with 1 additions and 0 deletions

View File

@ -141,6 +141,7 @@ fn setup_scene_plugin(app: &mut App) {
("soldier_run", 0.1, 9..=16),
]);
let run_anim = animations.get_active("soldier_run");
let animations = resman.store_new(animations);
drop(resman);